Removes the scene's stage element from the DOM and clears the scene map.
Fetches placements.json (and ta.json when atlas:true) from
assetBasePath and builds the scene.
Builds the scene's div hierarchy and appends it to hostElement.
The DOM node that will contain the stage (default: document.body).
Scales and centres the stage div to fill the viewport while preserving the scene's internal aspect ratio. Mirrors ZScene.resize in PIXI.
StaticgetStaticgetStaticis
HTML div–based ZScene.
Loads
placements.jsonfrom an asset base path, constructs the scene hierarchy as nestedZContainerdivs, scales and centres the stage to fit the viewport, and exposes the same public API as the PIXI / Phaser versions of zImporter.Spine and particle assets are silently skipped (not supported in HTML).