The player character needs to start somewhere, and because I decided to code the game mechanics first – visually, a plain rectangle is more than enough.
Here are the core mechanics the player will evenatually need:
- Rolling down the hill and accelerating automatically
- Turning left and right (player input)
- Jumping (player input)
- Falling – when hitting an obstacle
- Falling should trigger a long trail full stop, leaving a dirt trail in the player’s wake
- Full stop with deceleration – for finish line and side borders
In the next log entries I’ll breakdown the code for each item done.