Tuesday, 6 April 2010

Added Points

The original idea of the game was based on scoring points to win a race, and not finishing first. To reflect this, I have quickly implemented a points system for Speed and Style. The player can get 500pts by taking the shortcut over the river (passing through the shortcut waypoint) or by driving at a speed of over 75 mph (+1 point per frame).

Was quite easy to do but the while implementing the speed based points, the game would crash while running the while() loop. Was fixed by replacing if with an if() look. Since there are no AI racers, I am unable to implement scoring for 'Aggression'.

No comments:

Post a Comment