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 seconds. Default: 1/60.


optional maxFixedStepsPerFrame?: number

Defined in: GameLoop.ts:16

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

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.