Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. TheRedHead
    T

    TheRedHead

    @TheRedHead

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

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

    Posts made by TheRedHead

    RE: OnMessage vs OnChange Based Performance

    thanks for your answer!!

    posted in Questions & Help •
    OnMessage vs OnChange Based Performance

    Hello guys,

    I am new to using Colyseus, and I am making a turn based game.

    I have a question about good practices for good performance.

    When produces a turn change, or to communicate that there is a winner...

    how should it be done? Is it better to deal with broadcast messages to all users or put a room.state.onChange callback on the client side and hear changes in different status properties?

    Regards.

    posted in Questions & Help •