You will create with the help of your notes and previous programs the following game:
You have not been given the sprites for the game. You must create the game based on the following description and above picture. If you have played the game before you are in luck, if not then you will have to pay close attention to the description in order to go through the question appropriately.
You are a space pilot that is trapped in an asteroid field. Your goal is to survive through a wave of asteroid floating around you.
You can move your ship by pressing up to move forward and then can move slightly left and right by pressing left or right. You can pivot in space by pressing left or right (ie you might have to animate your ship since you only have one image, look under edit sprites for help). The pivoting is similar to when you were landed on the moon in Galatic Mail.
You and the asteroids can fly off the screen, if you do, then you should wrap around to the other side of the screen, either from the top-bottom or left-right.
You move forward only by pressing the up button. The longer you hold down the button the faster you go. If you let go of your button then you start to slow down (ie your relative speed becomes -1), until you stop completely ( don’t start going backwards it should stop at 0!!).
You have the option of firing your lasers on the asteroid by pressing the space bar. If you hit a large asteroid it will break into two medium pieces. If you hit a medium asteroid it will break into two small pieces. If you hit a small asteroid it will disappear. You gain points for hitting asteroids. If one of the asteroid hits you, you lose a life or the game is over, but it will break the larger asteroids down into smaller parts.
Large asteroid – 100 points
Medium asteroid – 200 points
Small asteroid – 400 points
*** BONUS 1 ***
You start off with three lives. You can gain a life if you reach 10,000 points.
*** Bonus 2 ***
In the original game there was a rogue ship that appears on the screen and travels across the screen firing at you. If the ship is hit by an asteroid it is destroyed. If you hit it with a missile you would gain 1000 points. If the ship hits you or hits you with its missles you would die.
If you add this piece and it works you will get 10 bonus marks.
For this project you will have to draw out your own sprites. Do not use ones that already exist!
You may work in groups of two (2) or three (3) on this project.
Questions to be answered and posted on your blog:
1. What was the easiest part of this assignment?
2. What was the hardest?
3. Do you think that if you had more time that this game could run better or do you think you had enough time?
4. What were the control structures you use for this assignment?