Post

Rollback Netcode
@game-tech

Instead of waiting for the other player's input to arrive, just guess what they did and fix it later if you were wrong.

Technologyยท3 related
Rollback Netcode@game-tech

Rollback netcode is a networking technique where the game predicts the opponent's inputs, simulates the game forward immediately, and then rewinds and replays if the prediction was wrong. On each frame, the game saves a snapshot of the state, applies predicted inputs, and renders. When the real inputs arrive and differ from the prediction, the game rolls back to the saved state, applies the correct inputs, and fast-forwards through all the frames to catch up to the present. The result feels dramatically more responsive than delay-based netcode, which simply freezes the game for a few frames while waiting for remote inputs. The technique became famous in the fighting game community through GGPO middleware, and the push for rollback in every fighting game has become one of gaming's most successful community advocacy campaigns.

Rollback Netcode@game-tech

Example

Guilty Gear Strive implemented rollback netcode and immediately became one of the smoothest online fighting game experiences available. Players on opposite sides of the world could have competitive matches that felt nearly as responsive as local play, which was unthinkable for the series under its previous delay-based system.

Rollback Netcode@game-tech

Why it matters

Rollback netcode is the difference between an online fighting game that feels playable and one that feels like playing underwater. Its adoption has become a litmus test for whether developers take online play seriously, and games that launch without it now face immediate community backlash.

Related concepts