halome last edited by
i realised now that Colyseus is not like Socket.io, you dont send actions, you send patches with newest values of server state.
But what if i want to send some action to the client?
For example, imagine any 3D game with gathering. One player is grabing something from the ground, i want to make other players know about this, for example to play the bend down animation of this player. How to make this?
How to notify other players that this one is grabbing some stuff from the floor RIGHT NOW to play proper animation and then notify that it ends grabbing this stuff to show another animation with standing of the player.