startApp
Function of @v12-engine/client/app
ts
export declare function startApp(options: StartAppOptions): StartedApp;Starts an app of scenes on the page: menus, games, map editors and screens of a game's own, one shown at a time, each going to the next with goTo. What a game that is more than one launch is made of: a menu before the game, a campaign's map between its missions, an editor that plays its maps.
startApp( target: '#root', scenes: [menu, game, editor], start: 'menu' )
startApp( target: '#game', game )
One game on a page needs none of it: that is launch