OptionalbackgroundBackground color (hex number like 0x1a1a2e). Convenience option.
OptionalheightCanvas height in pixels. Convenience option (alternative to renderOptions.height). If both are provided, this takes precedence.
Container element to attach the canvas.
OptionalloadingCustomize loading scene appearance.
OptionalphysicsEnable physics. Pass true for defaults or PhysicsWorldOptions.
OptionalpixelEnable pixel-perfect rendering. Pass true for defaults.
OptionalrenderPIXI render options (width, height, backgroundColor, etc).
OptionalscaleHow to scale the canvas within the host element.
OptionalshowShow loading overlay during asset loading.
OptionalsuppressSuppress right-click context menu on the canvas. Default false.
OptionalwidthCanvas width in pixels. Convenience option (alternative to renderOptions.width). If both are provided, this takes precedence.
Configuration for setupMoxi().