Game Development Reference
In-Depth Information
In the key press script, add a changePoints (-10) block to deduct ten points each
ime the player places a bomb:
That's all we needed to do to create a points system and a hazard for the cat. If you wish, you
can play around with the point values to change the difficulty of the game.
Objective complete - mini debriefing
With limited resources, this game has become more challenging. It's now possible to lose the
game. We also keep track of how much the player has accomplished by showing the level
number and number of points scored.
Mission accomplished
On building this project one step at a ime, we slowly changed it from a rather dry calculaion
exercise, to a simulaion, and then to a game. We have seen that small addiions can have big
effects on how the game feels. Refer to the following screenshot:
Search WWH ::

Custom Search