News for hackers. Stuff that matters.
Re:Game Timers: Issues and Solutions (2012) by masklinn on Tuesday August 17, 2021 @07:13AM (#28208593)
I’m not a gamedev at all so I never really dug into it, but the issue I’ve always had there was how to handle input when executing multiple simulation steps within a single “execution frame”.
Re:Game Timers: Issues and Solutions (2012) by meheleventyone on Tuesday August 17, 2021 @07:30AM (#28208711)
Depends on how input can be handled you could repoll between each sub-step but practically just sending in the same input to every sub-step works. Usually you aren’t doing many sub-steps per step anyway.