Endless Runner
Configuration
Options
Key
Type
Explanation
Default
visible_hitbox
Boolean
[DEV] Display the runner's hitbox.
false
background > current_stage
Integer
Index of the starting "stage".
0
background > speed
Integer
Base speed.
5
background > cap_speed
Integer
Max speed.
10
background > acceleration
Float
Acceleration.
0.3
background > change_stage_after_x_screens
Integer
Number of stages' passes before switching to the next one (if more than one in the array).
13
runner
Object
Visual + config of the player.
{ ... }
stages
Objects
Visuals + config of the stages.
[ {...} ]
default_lang
String
[PTF] Default language if unmatched language.
"fr"
unit
String
Unit of the game (points, meters, etc.).
"m"
Assets
Key
Size
Explanation
Default
tutorial
500 x 500px
Visual (can be animated) displayed for a few seconds at the start of the game.
runner > image
120 (* nb of frames) x 120px
Visual of the runner (must be frames to be animated).
stages > obstacles > image
90 (* nb of items) x 90px
Sprite of the obstacles.
stages > sides > image
120 (* nb of items) x 120px
Sprite of the side visuals.
Last updated