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

Watch on YouTube

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