3 ms·
Here’s a nice white paper from Valve with diagrams on lag compensation, prediction, authoritative server, etc: https://developer.valvesoftware.com/wiki/Source_
by rjeli 9y ago
Here’s a nice white paper from Valve with diagrams on lag compensation, prediction, authoritative server, etc:
https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking https://developer.valvesoftware.com/wiki/Source_Multiplayer_...
- bullen 9y agoOnce per year; before christmas, someone posts an old trigger for the classical UDP vs. TCP problem. Here is a solution I just submitted: https://www.ietf.org/id/draft-add-ackfreq-to-tcp-00.txt https://www.ietf.org/id/draft-add-ackfreq-to-tcp-00.txt TL;DR The trick is not to make UDP like TCP, but instead make TCP like UDP.
- ggambetta 9y agoI've made an interactive demo that lets you tweak the different knobs and see what happens: http://www.gabrielgambetta.com/client-side-prediction-live-demo.html http://www.gabrielgambetta.com/client-side-prediction-live-d...
- kernel_sanders 9y agoI made my own simple multiplayer 2d game to understand this stuff and just want to let you know that your site was invaluable to understanding client side prediction and server side reconciliation! Thanks so much for that!