Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. davidhernandeze
    davidhernandeze

    davidhernandeze

    @davidhernandeze

    Chat Follow Unfollow
    0
    Reputation
    2
    Posts
    874
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • 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 •
    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 •