Answer the question
In order to leave comments, you need to log in
I'm making a multiplayer action game. Is it possible to carry out all calculations on the server, and only display data on the client or will it slow down?
A game like slither.io but harder and more moving objects.
I've seen games where, in the event of a communication outage, everything continued to move on the client, and when communication with the server was restored, the client synchronized, the players on the screen moved to the actual places, from those places where they got by inertia when the connection was broken.
In general, if the browser receives the coordinates of all objects 5-10 times per second via WebSocket, then nothing will slow down and lag?
I want snakes to turn their heads, to be able to bite and stop, to cling to other snakes with their teeth.
Answer the question
In order to leave comments, you need to log in
Can. Phrases for googling:
Not only possible, but also necessary, otherwise it's a huge hole for cheaters, because no one will stop me from sending the calculation results I need to the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question