Dino Run
Configuration
Options
speedInt
Base speed.
180
accelerationFloat
Acceleration.
0.01
jumpInt
Jump force (from ground level, same unit).
25 (%)
gravityInt
Gravity strength.
130
groundInt
Ground level (from the top of the game).
85 (%)
skyInt
Sky level (from the top of the game).
10 (%)
cloudsInt
Number of clouds.
3
obstaclesInt
Number of obstacles (warning: if 0 the game becomes endless).
2
obstaclesSpritesInt
Number of sprites on obstacles (must be the same for every visual!).
6
obstaclesMaxSpritesInt
Maximum width of an obstacle (min should be 1, or endless).
3
obstaclesMinDistanceInt
Minimal distance between two obstacles (must be spread enough to allow a jump between two obstacles).
40 (%)
trexSpritesInt
Number of sprite for the runner (should have multiple, see visual specs!).
6
hitboxSizeInt
Percentage of the visual to be used for hitbox calculation (100% = whole image, 0% = no hitbox, endless game).
65 (%)
default_langString
[PTF] Default language if unmatched language.
"fr"
reset_buttonBoolean
[PTF] Set to true to cancel button's style.
false
text > startString
Start button's text.
"Play now" / "Je joue" / "Speel nu"
text > unitString
Game unit (displayed with the score).
"m"
Assets
obstacles150 (6*25) x 50px
Visual(s) used for the obstacles, can be displayed partially.
trex264 (6*44) x 50 px
Visual used for the runner. Should have multiple sprites (idle state, jumping up, jumping down).
Last updated