OptionalautoresizeWhether to auto-resize the canvas bitmap to match display size
OptionalcanvasSize of the canvas area
OptionalcontainerCSS class for the main container
OptionalcssCSS variable overrides for this interface (e.g. { '--bar-background': '#222' })
OptionalfullscreenIf true, make the interface fullscreen (canvas fills viewport, no scroll)
OptionalparentContainer element to append to (defaults to document.body)
OptionalscaleIf true, canvas display scales to fit container while maintaining aspect ratio. Use with canvasSize to have fixed logical resolution with flexible display size. Example: canvasSize: {width: 800, height: 600}, scaleToFit: true
Configuration for GameInterface