A endless runner with a level based progression where you jump, dash and slide through different worlds
Scripting all of the main mechanics
Scripting all of the enemy obstacles
Scripting animation states
Implementing UI
plattform | pc/mobile
Engine | defold
language | lua
Production time | 2 weeks
genre | level based endless runner
MY ROLE | SCRIPTER
MECHANICS
During this project I worked in an engine that was still in beta, in a scripting language I had never used before and with a very short project length. So in order to make the mechanics work I had to make some create solutions.
JUMP DASH & SLIDE
All three main mechanics worked with the same principle.
All of the moves where tied to specific collision boxes on the character, set up with different collision groups.
So when the game got an input it called the specific move you wanted to use and activated the correct trigger box. To make it more stylish, a simple animation was added.
A timer was then used to determine the time the "move" was to be active.
LEVEL OBSTACLES
The obstacles in the level where set up in a similiar way as the hero, with different collision groups.
If the player was hit, it would send a message to the level script to reset the level.
OTHER
UI
A simple UI that was implemented, keeping track of points and lives left.
Animation States
Each animation was triggered when the player did the corresponding move function.