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. TheRedHead
T

TheRedHead

@TheRedHead

Chat Follow Unfollow
0
Reputation
2
Posts
890
Profile views
0
Followers
0
Following
Joined 6 Jun 2020, 10:15 Last Online 12 Jul 2020, 17:42

  • 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 • 11 Jul 2020, 10:06
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 • 6 Jun 2020, 10:23

© 2023 Endel Dreyer