Module game_loop

Module game_loop 

Source
Expand description

Game loop with fixed timestep (Heijunka principle)

Implements a fixed timestep game loop that ensures physics consistency across all frame rates (30fps mobile to 144Hz+ desktop).

Structs§

FrameResult
Result of a game loop update
GameLoop
Game loop manager implementing fixed timestep with interpolation
GameLoopConfig
Configuration for the game loop
GameLoopState
State of the game loop accumulator

Enums§

GameState
Game state machine for managing game modes