Skip to content

runGame beta ​

Function of @v12-engine/client

ts
export declare function runGame(options: GameRunOptions): GameRun;

Runs a game on a page, from its load to its end, with nothing drawn (design review U10): loads its client, preloads and prepares it behind the loading screen, starts it, records it, offers a lower quality where it keeps running slowly, and says why it could not be loaded or stopped. launch, a scene of a game and the editor's Play here each make one, and GameMount draws it: its loading screen, its HUD, its error screen. A page with a screen of its own draws it itself