TechAssembly / ruven

Game for the Github Game Off 2018 - Themed HYBRID!
7 stars 4 forks source link

Send and receive player positions on the server side #4

Closed gioragutt closed 5 years ago

gioragutt commented 6 years ago

As a first step of establishing the client-server comm protocols, A good first step is to first see all players in the map.

This requires to implement a custom Room class in the server that saves the state of the game, Which holds the player's state. There are build in mechanisms that handle synchronising state between clients, so I suggest reading the documentation on the Colyseus site.

The data that is crucial for the initial implementation is:

This requires coordination with the person implementing the client side - so watch out for that.

dviryamin commented 6 years ago

I can take this. should I wait until someone take the client side issue?

gioragutt commented 6 years ago

@dviryamin ask in the team if someone wants to take the client side issue and work together with you