Members
(constant) DEBUG_DIFFICULTY :number
The difficulty to set if DEBUG_TEST is set to sequential.
Type:
- number
- Source:
(constant) DEBUG_TEST :string
Pick a game to repeatedly test. Set "sequential" to go through all the games in order.
Either that or set it to a Game ID from the [Game] list from config.ini, and it will play that game on loop.
Type:
- string
- Source:
(constant) DEBUG_TRANSITION :string
Set to "win" to debug win transitions on loop, set to "lose" to debug lose transitions on loop. Set to "" or any other value to debug nothing.
Type:
- string
- Source:
(constant) DEBUG_TRANSITION_LIFE_LOST :boolean
set to "true" to debug a lost life animation.
Type:
- boolean
- Default Value:
- false
- Source:
(constant) DEBUG_TRANSITION_LIVES :number
set to the number of lives you want to debug.
Type:
- number
- Default Value:
- 3
- Source:
(constant) DEBUG_TRANSITION_LOOP
Set to "loop-end" to allow the animation to infinitely loop at the end. Set to "loop" to let the animation play normally (but restart after it finishes). Set to "pause" to "freeze" at the end of the animation (it actually just leaves animation settings at the end. Infinitely looping iterations will continue to loop). Set to "none" or any other value to allow the animation to play normally.
- Source:
(constant) MAX_ALLOWED_TIMER :number
Maximum seconds that the timer is allowed to be set to.
Type:
- number
- Default Value:
- 15
- Source:
(constant) MIN_ALLOWED_TIMER :number
Minimum amount of seconds that the timer must be set to.
Type:
- number
- Default Value:
- 5
- Source:
(constant) SCREEN_HEIGHT :number
Height of games to be displayed.
Type:
- number
- Default Value:
- 540
- Source:
(constant) SCREEN_WIDTH :number
Width of games to be displayed.
Type:
- number
- Default Value:
- 960
- Source:
Methods
debugLoopTransition(isWin)
If DEBUG_TRANSITION is win or lose, then this will play either the win or lose transition.
If DEBUG_TRANSITION_LOOP is "loop", then this will loop. If it is "loop-end", then it will play once.
Parameters:
Name | Type | Description |
---|---|---|
isWin |
boolean | Whether or not to play a win or lose transition. |