Friday, 19 June 2015

Rooms

Menu
I have created a background which is purple with "PACMAN" at the top and i have images of the aliens and pacman as you will see below. I have then saved it and made the menu room and put the menu background in the room.


For the menu room I have created a sprite message saying "PRESS ENTER" which in turn will start the game. I have created an object for that sprite which has a <enter> keyboard event and I execute code that means when the enter key is pressed the menu room will close and the level 1 room will open and start.

I have gone onto the menu room and added in the enter button on the purple background.


Level 1
In level 1 i have the wall object going in a rectangle and making it so there is thin areas apart from the middle bit. I have made boxes and different types of obstacles for the alien and pacman to go round. I have put the answer pellets in each corner I have pellets going all the way round except above the alien. I have the pacman lives in the top left corner and the score in the top right corner which will go up as pellets are eaten. The question is just underneath the score and the answers and correct answer are placed underneath the pacman maze. The alien is currently trapped in the alien box and the message object is in the middle of the maze waiting for the game to begin.



Level 2
In level 3 i have the wall object going in a rectangle and making it so there is thin areas as well as areas that have no walls between pellets. I have made different types of obstacles for the aliens and pacman to go round. It could be quite easy to get trapped. I have put the answer pellets in each corner I have pellets going all the way round. I have the pacman lives in the top left corner and the score in the top right corner which will go up as pellets are eaten. The question is just underneath the score and the answers and correct answer are placed underneath the pacman maze. There are all 4 aliens in this level and only one alien is currently out of the alien box, the others are currently trapped in the alien box and the message object is in the middle of the maze waiting for the game to begin.


Level 3
In level 3 i have the wall object going in a rectangle and having wall openings so the pacman and aliens can go in and out of the maze and to different areas. I have made boxes and different types of obstacles for the aliens and pacman to go round. I have put the answer pellets in each corner I have pellets going all the way round except above the alien. I have the pacman lives in the top left corner and the score in the top right corner which will go up as pellets are eaten. The question is just underneath the score and the answers and correct answer are placed underneath the pacman maze. Two aliens are out of the alien box and the other aliens are currently trapped in the alien box and the message object is in the middle of the maze waiting for the game to begin. I have 5 aliens in this maze so it gets a little bit trickier to reach the right answer pellets. Once this level is done it shuts the program down.  


No comments:

Post a Comment