News for hackers. Stuff that matters.
Re:Fighting games use delay-based and rollback netcode by rollcat on Monday January 23, 2023 @10:16AM (#34489767)
Pardon my ignorance (only interested in gamedev tangentially), but I would've assumed every game engine that progressed beyond a mere toy would always fix the timestep (or at least make it a single API call to do so). Or is there an entire class of games that somehow benefits from variable timesteps?...
Re:Fighting games use delay-based and rollback netcode by andrewmcwatters on Monday January 23, 2023 @01:28PM (#34492891)
You're not ignorant, it's an excellent question.

The Unreal Engine has a long history, and its origins did not start from a fixed or semi-fixed timestep. The Unreal Engine doesn't benefit from a variable timestep, it's hampered by it, and the engineers have deemed it too difficult to fix, because the decision permeates the entire engine.

There is a "fixed timestep" mode, but it's for cinematics, and specifically for synchronizing the engine with external hardware, IIRC. But it's not a true fixed timestep, it's actually a fixed framerate, instead.