InterfaceBrowser DX & Viewport@public
BrowserGameAssetOptions
Declarative asset configuration for browser startup.
ts
export interface BrowserGameAssetOptions1
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
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 | - | FlxAssetInitOptions | Pixi asset resolver initialization options. |
initialBundles | - | string | string[] | Bundle or bundles that must load before the game is created. |
service | - | FlxAssets | Optional preconfigured service, primarily for adapters and tests. |