Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. TheRedHead
    3. Posts
    • Profile
    • More
      • Continue chat with TheRedHead
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    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 •