GameLoopConfig
Defined in: GameLoop.ts:12
Configuration for the game loop.
Properties
Section titled “Properties”fixedTimestep?
Section titled “fixedTimestep?”
optionalfixedTimestep?:number
Defined in: GameLoop.ts:14
Fixed timestep in ms. Default: 1000/60.
maxFixedStepsPerFrame?
Section titled “maxFixedStepsPerFrame?”
optionalmaxFixedStepsPerFrame?:number
Defined in: GameLoop.ts:16
Max fixed steps per frame to prevent spiral of death. Default: 5.