Simplest way to get Dead Reckoning into my game?

774 views Asked by At

I have a game where there are many sprites flying around the screen, with the user controlling one of them with the arrow keys/WASD.

I have it set up over a network so that the host game is the one the user controls and the client game has no user input, it simply mimics everything that his happening in the host game.

All I need to do is to implement Dead Reckoning for the user controlled sprite in the client game. It moves in 4 directions, up, down, left and right.

What is the easiest way to do this/how do I go about doing this?

p.s. my host game sends the data to the client via a UDP socket using WinSock.

1

There are 1 answers

0
Liyunzhen On

Search EPIC Entity Position Interpolation Code. It provides a good solution to Position DR.

For the Orientation DR, I am looking for solutions...