GameOptions
game.types.ts:32Options accepted by Game.bootstrap.
The shape is intentionally narrow. Earlier iterations of the engine
accepted a raw Partial<ApplicationOptions> passthrough, but that leaked
the renderer's surface into the engine's public API and conflicted with
arcade2d's composition-over-exposure philosophy. New rendering knobs are
added one at a time, named in arcade2d terms.
{ audio?: AudioEngineOptions; backgroundColour?: number; canvas?: GameCanvasOptions; components?: (game: Game) => ComponentFactoryMap<Game>; debug?: boolean }