Skip to content

GameLoopConfig

Defined in: GameLoop.ts:12

Configuration for the game loop.

optional fixedTimestep?: number

Defined in: GameLoop.ts:14

Fixed timestep in ms. Default: 1000/60.


optional maxFixedStepsPerFrame?: number

Defined in: GameLoop.ts:16

Max fixed steps per frame to prevent spiral of death. Default: 5.