This is an addon for implementing rollback and prediction netcode in the Godot game engine.
Beyond the basics (gathering input, saving/loading state, sending messages, detecting mismatches, etc) this library aims to provide support for many of the other aspects of implementing rollback in a real game, including timers, animation, random number generation, and sound - along with high-quality debugging tools to make solving problems easier.
Implementing rollback and prediction is HARD, and so every little bit of help is important. :-)
Tutorials

Rollback netcode in Godot (part 11): Advanced Input Prediction
In this part, we discuss the true goal of input prediction, the related challenges and some more advanced techniques for handling them.

Rollback netcode in Godot (part 10): Random Numbers
In this part, we learn about generating random numbers in a rollback-safe way, which we use to add a teleport ability to our demo game.

Rollback netcode in Godot (part 9): Sound Effects
In this part, we learn how to play sound effects in a rollback-safe way, which we use to add explosion sounds to the bombs in our demo game.

Rollback netcode in Godot (part 8): Animation Players
In this part, we learn the do's and don'ts of using the NetworkAnimationPlayer node, and animate the bombs and explosions in our demo game.

Rollback netcode in Godot (part 7): Input Delay and Interpolation
We discuss input delay and interpolation, and use interpolation in our demo project to reduce the simulation rate to 30fps.

Rollback netcode in Godot (part 6): Playing offline!
In this part, we add offline play to our demo, using the exact same gameplay code as the online version.

Rollback netcode in Godot (part 5): State, hashing and mismatches
In this part, we talk about all about state in the context of rollback netcode, and get started using the Log Inspector tool for debugging.

Rollback netcode in Godot (part 4): Spawning scenes and NetworkTimer
We add some more gameplay to our demo (exploding bombs!) and cover spawning scenes and using the NetworkTimer node.

Rollback netcode in Godot (part 3): Making a custom MessageSerializer
We create a custom MessageSerializer, to facilitate quickly and reliably sending input data.
_0.png)
Rollback netcode in Godot (part 2): Getting Started with the Godot Rollback Netcode addon!
We install the Godot Rollback Netcode addon, and create the simplest possible demo game from scratch.
.png)
Rollback netcode in Godot (part 1): What is rollback and prediction?
In this part, we talk about what rollback netcode is, when you'd want to use it, and how it works.