So I've just started trying to make a multiplayer pong game and I have read a lot of different ways to code the connections. However, I read somewhere that you should have the inputs sent to the server queue up and then the server just processes it at fixed intervals. However, if this is done, how does the server know, process, and send accurate data based on the time the action was sent? Because if the data is just queued up, if something happens like 100 ms after another but the server processes them at the same time, wouldn't that mess up the synchronization of the game? Should the server instead be coded to handle the client actions immediately even if it costs a lot of cpu etc in larger games?
Subscribe to:
Post Comments (Atom)
Simple past, Present perfect Past perfect
Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...
-
I have been programming a 2D game in C++, using the SDL2 graphics API for rendering. My game concept currently features effects that could r...
-
i would like to start this topic for programs to counter-attack link text . I am not aware of a big list but with everyone's help i hope...
-
I'm creating an Arkanoid-like game from scratch. I have no (formal or informal) education of any kind in game-development, so I kinda ma...
No comments:
Post a Comment