Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. davidhernandeze
davidhernandeze

davidhernandeze

@davidhernandeze

Chat Follow Unfollow
0
Reputation
2
Posts
792
Profile views
0
Followers
0
Following
Joined 31 Mar 2020, 20:49 Last Online 1 Apr 2020, 00:18

  • Profile
  • More
    • Continue chat with davidhernandeze
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
davidhernandeze Follow

Posts made by davidhernandeze

RE: When I get data from Room.onStateChange I don't receive my players

I had the idea that onStateChange method includes the current state of the application, but the players MapState comes as an object without relevant data about Players. I changed that call to room.state.onChange = () => {} and it seems to be a better way to update my client-side state

posted in Questions & Help • 1 Apr 2020, 00:18
When I get data from Room.onStateChange I don't receive my players

I have a players Map Schema on my State, I receive my changes on my client, but the array players [] its empty. Is this a normal behavior?

posted in Questions & Help • 31 Mar 2020, 20:56

© 2023 Endel Dreyer