file: GameSubScene.aus

class: GameSubScene

[18:7] extends: FxglSubScene

Wraps FXGL's GameSubScene (com.almasb.fxgl.app.scene.GameSubScene), a SubScene that hosts its own GameScene (with a dedicated GameWorld and PhysicsWorld). Useful for split-screen, picture-in-picture, or nested game views distinct from the primary GameScene. Construction needs the SceneService's pixelsPerMeter, so it can only be instantiated inside a running FXGL engine.

Methods