Re:Networked games: Playing in the past or future
by ggambetta on Thursday July 16, 2020 @01:51AM
(#23856188)
The article isn't about dead reckoning. The "prediction" here is the client predicting its own movement based on its (stale) state of the world and its inputs; no dead reckoning here. For other entities, you get authoritative updates from the server at low frequencies, so you interpolate to get smooth movement, and you see them "in the past" in some sense; no dead reckoning here either.
I've wrote about all this in extensive detail, including a live demo, here: https://gabrielgambetta.com/client-server-game-architecture.... (it is in fact the third "further reading" in the article).
Re:Networked games: Playing in the past or future
by vvanders on Thursday July 16, 2020 @07:21PM
(#23865025)
I guess...
I you really want to split semantics dead reckoning term[1] comes from predicting your self position(which the article talks about).
Back when I was in games any sort of predictive interpolation was usually under the header of dead-reckoning. The big divergence for me was always prediction vs deterministic state at a fixed rate.
Re:Networked games: Playing in the past or future
by ggambetta on Saturday July 18, 2020 @11:28AM
(#23882011)
Predicting your self position based on known inputs, not on extrapolating your current position based on velocity and acceleration. With FPS-like controls with no inertia, you can absolutely do CSP without a trace of dead reckoning.
The other really common one is "lock step" where a common rng seed is shared and all player inputs are replicated. The game state then moves forward deterministically in "lock step" with all the players inputs. This is pretty common for RTS style games where a few inputs can drive thousands of units. Most also hash the game state and "resync" if a client is found to have diverged.