Your Game Doesn't Need UDP (Yet)

22 thoughts
last posted April 2, 2014, 5:28 a.m.

19 earlier thoughts

0

The issue is what happens when there's packet loss. If you blindly blast out all of your player's movements with UDP, then when there is some packet loss, their movements will start to appear jerky, they'll pause periodically, and they'll take impossible paths, but, assuming their network recovers, they'll generally end up in the right place.

If you blindly send your players movements over TCP, then when there's packet loss, they'll pause, then rapidly catch up, but take an accurate path.

2 later thoughts