Quote:
Originally Posted by Tyhm
:-/ Don't like it. Then you ask the player to detect every few seconds whether they've collided with any element of level.baddies.
|
No, instead of constantly telling the client to send data packets to the server, you're letting everything happen on the client and only sending data to the server when it needs to. Most overhead comes from client-server interaction. As traffic to the server will increase for every player on the server, the server will take more time to take in all of the data, and therefore also take longer to process and respond. It's also good practice to use bitflags instead of typical bools to reduce traffic.