Original Post
I am trying to design my first real network game but I am having trouble designing it (the game is a 2D 2 player shooting game). I figure that I will use UDP due to the obvious speed benefits and so far I figured as well that the clients would continually send the commands the player is trying to do (move forward, shoot, turn, etc.) while the server will continuously transmit information such as the new position of moving objects but I have on problem.
Things like dynamic object creation and objects instantaneously changing state wouldn't work since in UDP packets may be lost, and since this isn't a continous movement like something moving forward, if the packet is lost the client may never know something changed.
Can anyone offer any advice or even ideas for how to design things differently?
Things like dynamic object creation and objects instantaneously changing state wouldn't work since in UDP packets may be lost, and since this isn't a continous movement like something moving forward, if the packet is lost the client may never know something changed.
Can anyone offer any advice or even ideas for how to design things differently?