Skip to content

Networking

Keeping multiplayer games responsive and in agreement across slow connections.

8 cheat sheets in 3 groups

Fundamentals

Latency, jitter and loss: what the network does to packets.

Netcode

Prediction, interpolation and rollback for real-time play.

rewind the server to what the shooter saw, test the shot, come back
advanced
guess the other player, then rewrite the past when you were wrong
advanced

Scaling

Sending each player only what they need to know.