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. benti
B

benti

@benti

Chat Follow Unfollow
0
Reputation
2
Posts
922
Profile views
0
Followers
0
Following
Joined 16 Jun 2018, 16:23 Last Online 15 Apr 2021, 21:13

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

Posts made by benti

RE: Individual state synchronization with each player

Ok, I found the answer myself thanks to this thread :

https://github.com/gamestdio/colyseus/issues/59#issuecomment-403288409

Currently, room.send() is the best method to achieve what I described.

posted in Questions & Help • 22 Aug 2018, 12:48
Individual state synchronization with each player

Hello,

I started working on a game using Colyseus. Currently, I have all players in one room and I am synchronizing the entire game state with all clients. Actually, I would like to share some of the information only with each individual player. For example, each player needs to know only their own health points, not the health points of other players.

I am aware of the room.send() method, but it would be much more convenient if I could have automatic synchronization like it is possible with the game state that is shared with all players. Is this possible?

Thanks for your help!

posted in Questions & Help • 20 Aug 2018, 13:59

© 2023 Endel Dreyer