JayFoxRox / Boat-Racing-Game

A totally lame Burnout 3 clone which doesn't work at all.
7 stars 0 forks source link

Add hacky checkpoints #14

Closed JayFoxRox closed 7 years ago

JayFoxRox commented 7 years ago

To progress towards actual gameplay, this adds very basic checkpoints (hardcoded in main.cpp). The checkpoints are labelled using text. However, they are only drawn and not actually used yet. My idea for checkpoints is that they will extend to infinity (so for a closed circuit you'd need at least 3 individual checkpoints). They'll be placed along the raceline and race position can be calculated from the distance to the next checkpoint.


obligatory screenshot

tulior commented 7 years ago

Seems like an important step towards actual gameplay. LGTM. I would benefit from the lambda having an extra parameter (scale), because I'll be working on an speedometer, and that requires a somewhat bigger looking font.