This repository has been archived by the owner on Jun 12, 2019. It is now read-only.
Player should send his initial location to the server before moving #21
Labels
bug
Something isn't working
client-side
This issue is related to something on the client side
colyseus
This issue is related to colyseus client-server communication
Currently, due to how I prevent the client from spamming the server with data even if the player doesn't move, when the game starts, the player's position is
0,0,0
until he moves.This is done in
Assets/Scripts/Game/ColyseusLocalPlayer.cs
. A simple boolean flag ofwasSentAlready
or something like that would suffice.In order to test this:
The text was updated successfully, but these errors were encountered: