Anon0nyx / CitySprint

3 stars 1 forks source link

Client Only Needs Updated From Server When Changes Occur #3

Closed Anon0nyx closed 1 week ago

Anon0nyx commented 1 week ago

Currently, the application will send updated to the client every single tick of the game, this does not need to happen, if the application has not been changed than no request needs to be sent up to the server, but when a player makes a move on the client side it should be sent to the server and then validated, then properly updated on the client side.

Anon0nyx commented 1 week ago

Issue has since been resolved, now when a new client connects they are served the current state of the game in one large matrix but from there they are only provided necessary changes to that matrix from the server.