gameScene
Function of @v12-engine/client/app
ts
export declare function gameScene(options: GameSceneOptions): GameScene;A scene of a game, from what launch takes: the world made from the map (or made in code, loaded from a save, or joined: GameSource), what the game starts on it, and the client that shows it. For an app of scenes (startApp) with a menu before the game and the editor beside it: opened from the editor's Play, it plays the map as it is being edited (SceneArgs.editing), and from a save (SceneArgs.from) it goes on from it
gameScene( id: 'play', game, map: () = mapNamed(), onStart, debug: true, exit: label: 'Menu', scene: 'home' )