Optional
audioRandom number seed for BGM and sound effects generation.
Optional
audioAudio tempo, default: 120
Optional
audioAudio volume, default: 1.
Optional
bgmBGM sound type name of audio file, default: "bgm"
Optional
bgmBGM volume, default: 1
Optional
captureAdditional setting for isCapturingGameCanvasOnly, set the scale of the output file, default: 1.
Optional
captureCapture duration in seconds, default: 5.
Optional
colorSpecify a custom color palette in the format [[r,g,b], [r,g,b], ...].
Optional
isCapture a screen by pressing 'c' key.
Optional
isAdditional setting for isCapturing, will omit the margins on two sides when enabled.
Optional
isDisplay particles on the front of of the screen.
Optional
isDisplay added score points on the front of the screen.
Optional
isPlay BGM.
Optional
isRecord from game start to game over as a WebM file
Optional
isEnable replay of the previous game on the title screen.
Optional
isShow a score and a hi-score, default: true.
Optional
isEnable BGM and sound effects, default: true.
Optional
isUse a small text for a score and a description, default: true.
Optional
seed?: numberUse audioSeed.
Optional
textEdge color of the text.
Optional
description?: Color | numberOptional
floatingOptional
gameOptional
score?: Color | numberOptional
title?: Color | numberOptional
theme?: ThemeNameAppearance theme of the game.
Optional
viewScreen size of the game, default: {x: 100, y: 100}.
Generated using TypeDoc
Game setting options.