8 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2
Channel:GDC Festival of Gaming · Length:59:38 · Published:2019-03-11 · Views:94733
Summary
A 2018 GDC talk by NetherRealm's Michael Stallone on the engine changes, optimizations and tooling needed to roll back and re-simulate up to 8 frames in 16 ms in Mortal Kombat and Injustice 2. It is a deep dive into deterministic rollback netcode.
Why HN recommends it
HN treats it as the definitive practical talk on rollback networking in a shipped AAA fighting game.
For an in-depth explanation, see this excellent GDC talk on its implementation in Mortal Kombat and Injustice 2 — HN, 2023
Networking & internet infrastructure · Game programming & engines
Subtitles (excerpt)
[Music] all right it's about that time if everybody could mute their phones and please fill out evaluations that would be great I'm gonna get started because in my dry runs I fill the whole time so I'm gonna try and finish early for questions I'm Michael Stallone I'm lead software engineer on the engine team at NetherRealm Studios we ship injustice and Mortal Kombat what does this talk about the how why and lessons learned from switching our network model from lockstep to roll back in a patch this is not a rendering talk I know it says eight frames in 16 milliseconds I am NOT a rendering engineer I will not be talking about the GPU this is also not about the network transport layer I won't really be talking about packet loss and how to cover it up out of order packet delivery and that sort of thing that's a thing that we're all doing I'm just not going to talk about that we are not the first or only people to do rollback networking but I haven't seen any GDC talks about it so I thought I would give one and this is mostly about our experience the things that we went through when we did this maybe some of this is applicable to you guys just to give you guys a sense of the scope of what we were
On Hacker News
For those who aren't in the video game development field and like technical content, I cannot recommend watching GDC's content enough (even better, attending!). Although this blog post isn't as detailed as I've seen them do in the past, I appreciate that game developers have the opportunity to share their wins like this externally. If you enjoy watching technical content and video games, the foll… — c4wrd, 2025-03
Specifically "Deterministic Rollback", as the clients don't wait for the server's response before displaying the change locally. For an in-depth explanation, see this excellent GDC talk on its implementation in Mortal Kombat and Injustice 2: [VIDEO] — Oberdiah, 2023-10
I guess it depends on how high a level you're looking at it from. Both lockstep and rollback are variants of the general approach of "shared deterministic simulation" where you're mostly just sending inputs. ("Mostly" 'cuz on reconnect or desync or whatever you'll probably want to send full state.) I really enjoyed this GDC talk on rollback networking: [VIDEO] (From 2019.) — dilap, 2021-10
Here's another great video on the subject: 8 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2 [VIDEO] One of my favorite topics, partially because there's not that much literature on the subject but it's so important — syspec, 2021-02
Do you have a link to any blog posts, i would love to read about it. I tried to look on [LINK] , but development appears to be closed source? I'm just an outside observer, but i love the topic. For others like myself, this is a great GDC video to watch on the topic > 8 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2 [VIDEO] — syspec, 2020-07
Related videos
- I Shot You First: Networking the Gameplay of Halo: Reach · GDC Festival of Gaming · 1:49:07
- CRDTs and the Quest for Distributed Consistency · InfoQ · 43:39
- CS50 Lecture by Mark Zuckerberg - 7 December 2005 · CS50 · 1:05:34
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Harder Drive: Hard drives we didn't want or need · suckerpinch · 36:46
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West · Rust Programming Language · 42:29
- A Deep Dive into Nanite Virtualized Geometry · SIGGRAPH Advances in Real-Time Rendering · 1:09:59
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- Jonathan Blow - How to program independent games - CSUA Speech · Alexandre Franco · 1:15:50
- Ideas about a new programming language for games. · Jonathan Blow · 1:55:24
- This Video Is Sponsored By ███ VPN · Tom Scott · 7:25
- Exploring the Tech and Design of Noita · GDC Festival of Gaming · 31:00
- Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025 · Better Software Conference · 2:27:33
- Miguel de Icaza: Swift Godot: Fixing the Multi-million dollar mistake #GodotCon2023 · Godot Engine · 54:52
- QuakeCon 2012 - John Carmack Keynote · QuakeCon Official · 3:36:38
- A New Way to look at Networking · Google · 1:21:15