December 2013
Beginner
242 pages
4h 23m
English
In nearly all games that employ multiplayer networking, entities need to be interpolated to hide lag and jittery updates. While the updates for an entity only arrive relatively few times per second, and may even be dropped if using UDP, the interpolation needs to smooth these and make the final motion appear smooth, and close to the original player's movements.
Previously, we implemented a simple form of interpolation, by simply interpolating toward the current network position. This looks sluggish and artificial in many cases, especially in twitch-style action games where players move quickly and can change direction on a dime. In this chapter, we'll learn how to implement a form of entity interpolation ...
Read now
Unlock full access