Skip to content

Game clocks, ticks and frame timing ​

What to know ​

Find which clock advances the game. It may be a timer interrupt, a display retrace, an audio callback, a CPU counter, or elapsed time read by the main loop. Record the source, rate, and point where the game reads it.

Do not treat emulator speed as the game's clock. Fix the emulator settings for repeatable captures, then measure the game's own tick or frame step. A port that uses a different clock can run too quickly, drop events, or make a replay drift even when each update routine is correct.

The input guide treats clock reads as inputs. The linked cases cover frame-step replays, clock rates, and playback speed.

Code: Apache 2.0. Content: CC0 1.0. No game material: bring your own copy.