Hello
I am really wondering why all the examples on Lingren often uses string commands to send data, is that really the most optimal way? If not, what would be the optimal way?
It often goes like this:
Client sends "movecommand" to server.
Server listens after input, and some switch or if statements checks what string command that was receiving, and then proceeds doing the server logic.
I'm asking because I'm wondering how to sync up movement from client to server and viceversa, and handling multiple players position and such.