Skip to content

PauseMenuScreen beta ​

Function of @v12-engine/client/hud

ts
export declare function PauseMenuScreen(props: {
    client: HudClient;
}): import("solid-js").JSX.Element;

The client's pause menu (client.menu): its lines (Resume, Settings, Keys, Save and load, Score, Pause the game, Give up, the game's own, Restart, Leave), and the screens they open. In a dialog over the game, in its element; Esc goes back and then closes it, as the client's keys have it. It moves (UX1): the dialog comes in and goes, its lines one after another, a screen of it slides over the one before (ScreenTransition); the game's sounds as it opens and closes and its lines are pressed (GameView.hud.sounds)