Endless Runner
Configuration
Options
Key
Type
Explanation
Default
visible_hitboxBoolean
[DEV] Display the runner's hitbox.
false
background > current_stageInteger
Index of the starting "stage".
0
background > speedInteger
Base speed.
5
background > cap_speedInteger
Max speed.
10
background > accelerationFloat
Acceleration.
0.3
background > change_stage_after_x_screensInteger
Number of stages' passes before switching to the next one (if more than one in the array).
13
runnerObject
Visual + config of the player.
{ ... }
stagesObjects
Visuals + config of the stages.
[ {...} ]
default_langString
[PTF] Default language if unmatched language.
"fr"
unitString
Unit of the game (points, meters, etc.).
"m"
Assets
Key
Size
Explanation
Default
tutorial500 x 500px
Visual (can be animated) displayed for a few seconds at the start of the game.
runner > image120 (* nb of frames) x 120px
Visual of the runner (must be frames to be animated).
stages > obstacles > image90 (* nb of items) x 90px
Sprite of the obstacles.
stages > sides > image120 (* nb of items) x 120px
Sprite of the side visuals.
Last updated