Name: __________________________________________
Copyright
by
The
Goodheart-Willcox
Co.,
Inc.
Lesson 10 The Key to Adventure—Beta 157
Situation
After reviewing your alpha game build from Lesson 9, the creative director has determined
it needs more adventure! You will now improve the game by adding features such as doors that
need to be exploded open, locks and keys, and enemies guarding the objectives. Do a good job;
your performance evaluation will be coming up soon. You want a good evaluation!
How to Begin
1. Open the Maze game from Lesson 9 and save it as LastName_Maze_Beta.
2. In the previous lesson, you created some sprites and objects that were not used. You will
use them in this lesson, along with the following sprites and objects. Create all objects as
visible and solid.
Obstacle Barriers
To make the game more challenging, you will add barriers. Barriers are objects that block
pathways. The player must either destroy the barriers or figure out some other way to get around
them.
3. Open the Room Properties dialog box for the Level 1 room.
4. Place instances of the doors object to block the exit to the maze, Figure 10-1. To place
them on top of the exit objects already in place, uncheck the Delete underlying check
box. It is important to keep the exit objects because they contain the programming for
moving from room to room.
5. Open the Object Properties dialog box for the OBJ_Doors object.
6. Program the door object such that IF the avatar collides with the door, THEN the avatar
movement stops.
Sprite Name Image File Object Name
SPR_Detonator_Down \Sprites\Maze-Platform\
detonator_on.png
OBJ_Detonator_Down
SPR_Detonator_Up \Sprites\Maze-Platform\
detonator_off.png
OBJ_Detonator_Up
SPR_Diamond \Sprites\Maze-Platform\
diamond_sparkle_strip32.png
OBJ_Diamond
SPR_Dynamite_Pack \Sprites\Maze-Platform\
dynamite_pack.png
OBJ_Dynamite_Pack
SPR_Dynamite_Stick \Sprites\Maze-Platform\
dynamite.png
OBJ_Dynamite_Stick
SPR_Explosion \Sprites\Maze-Platform\
explosion strip7.png
OBJ_Explosion
SPR_Spider \Sprites\Maze-Platform\
spider_down_strip8.png
OBJ_Spider
Previous Page Next Page