A new video tutorial, split into three parts, develops a simple ball game started in previous tutorials, go to the following page to see the full set –
The first part of the tutorial replaces a message sending system to keep the score, with a system that uses the global dictionary object. This has the advantage of not being reset when the level restarts.
The second part shows how to restart the level when the ball misses the holes and falls off, in a previous version a timer was used to restart the level, in this version, the height of the ball is used. Also ‘pressing Q to quit’ is added.
The third part of the the tutorial shows how to display the score within the came using a dynamic text display.
File needed at the start of the tutorial – rotatingPlanePractice.blend
Finished practice level of game – rotatingPlanePractice13.blend