Game

Game control and text display actions.

game.over()
game.setGameOverEffect(true, effects.confetti)
game.setGameOverMessage(true, "GAME OVER!")
game.setGameOverPlayable(true, music.melodyPlayable(music.powerUp), false)
game.setGameOverScoringType(game.ScoringType.HighScore)
game.onUpdate(function () {})
game.onUpdateInterval(500, function () {})
game.ask("")
game.askForString("")
game.splash("")
game.setDialogCursor(null)
game.setDialogFrame(null)
game.setDialogTextColor(0)
game.showLongText("", DialogLayout.Bottom)

game.reset()
game.runtime()

See also

over, on update, on update interval, ask, ask for string, splash, set dialog cursor, set dialog frame, set dialog text color, show long text, reset, runtime