r/truegamedev • u/ErebnyxS • Jun 19 '22
Rollback netcode module (allows for easier port from delay based netcode)
https://github.com/lvenerosy/GGNoRe-CPP-API-IntegrationsTest
36
Upvotes
r/truegamedev • u/ErebnyxS • Jun 19 '22
5
u/ErebnyxS Jun 19 '22
The usual implementation expects to serialize/deserialize everything within one callback which makes backporting a game to rollback difficult. Instead I take the component approach where you just need to consider what goes into the serialization locally.
There are extra features as well, namely an API to easily do state interpolation in between logic frames, so even fighting games that historically run at 60fps could run at an uncapped framerate.
3
u/kylotan Jun 19 '22
What do you mean by “delay based netcode”?
I’ve been making online games for 20 years and this isn’t a term that I see in the literature so I’m curious as to where this has come from.