GameSessionOptions
Extends: roAssociativeArray
Options for BGE.GameSession. Every field is optional.
Properties
lives(integer) — Lives at the start of a game (default 0: lives aren't used, so loseLife() does nothing).prompts(boolean) — Show the stock prompt for each state (default false)? See readyPrompt and overPrompt.readyPrompt(string) — Prompt text while ready (default "Press OK To Play").overPrompt(string) — Prompt text once the game's over (default "Game Over!" and "Press OK To Play").pausedPrompt(string) — Prompt text while paused (default none).levelCompletePrompt(string) — Prompt text once a level's complete (default none).startButton(string) — Remote button that starts (or restarts) the game, e.g. "ok" (default "": the gamestartAction(string) — ControlMap action that starts (or restarts) the game (default "": none).stateEventName(string) — Game event posted when the state changes (default "sessionStateChanged"; "" for none).