Skip to content

randomMapScene beta ​

Function of @v12-engine/client/app

ts
export declare function randomMapScene(options: RandomMapSceneOptions): Scene;

A scene of a random map (world plan G3): the game's generator in its form (GeneratorForm: the size, players, symmetry, seed and its parameters, with a preview of the map it makes), and Play, which opens the game's scene (play) with the options (SceneArgs.generated): the game scene makes the same map of them, as a seed always does. What a start menu's Random map goes to

randomMapScene( game, play, back: scene: home )