Skip to content
InterfaceBrowser DX & Viewport@public

BrowserGameAssetOptions

Declarative asset configuration for browser startup.

ts
export interface BrowserGameAssetOptions

Properties

PropertyModifiersTypeDescription
backgroundBundles-string | string[]Bundles to begin loading after the first frame without blocking startup.
bundles-FlxAssetBundle[]Bundles registered before the custom preload callback runs.
init-FlxAssetInitOptionsPixi asset resolver initialization options.
initialBundles-string | string[]Bundle or bundles that must load before the game is created.
service-FlxAssetsOptional preconfigured service, primarily for adapters and tests.

Released under the MIT License.