Design Lab 5: Game Media [ Monday 6pm - Rm 908]
instructor: Jonah Warren
email: jonah AT feedtank DOT com
url: http://www.feedtank.com/2005/gamemedia/
Lab 2
[ This lab is to get you used to using variables
and basic logic within GameMaker. There are multiple ways to solve the following challenges. ]
- For those you you who weren't here for Lab 1, start from here.
Its the lab we completed.
- Download these two files: key sprite and
door sprite. We are going to be adding a number of features
to the game we completed in Lab 1.
- Make the bad guys move around, bounce off walls and end the game if you collide with
them if you haven't already.
- Using the sprites above, create a key object and a door object in your game.
- Add the key somewhere in your room. Add a door to the side of your room.
- Make it so that the good guy can pick up the key (it disappears when good guy
rolls over it). Play this sound when you pick it up.
- Make it so the door disappears if you have a key and go through it. (hint: I created a variable called
have_key. I initialized it to 0 when good guy is created.)
- Create another room with a different layout. Make the opening in the wall on the opposite side of
where your door is in the other room.
- Make it so that good guy can go from one room back to the other after the door is opened with the key.
(hint: You are going to need to make both rooms, and the good guy "persistant." There is a check box in both.)
- This is the type of thing I am looking for: lab_02.zip