Answer the question
In order to leave comments, you need to log in
How to pass client parameters to the client?
I decided to create a game similar to agar.io to develop my skills. And for me there was a problem when transferring client data to the client. For example: The player is heading in a certain direction, there is another player towards him. The problem is that I don't know how to transfer the coordinates, size, color and name of a player to another player. How is it even possible to pass two PHP variables that were created on different sides of the server-client? I will not use the database, because I use Comet and doing dozens of requests per second to the database for my server is a big load. Any ideas?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question