ITSE 1411.7426 ActionScript Web Programming, Summer 2007
Semester Project - Space Invaders
by Sharon Huston
This is a multi-week project which will be due the last day of the semester,
Thursday, August 9 th 2007.
Projects 1 through 4 and the textbook exercises will help you lean the
skills you need to successfully complete this project. But DO NOT wait until you have completed all
the other projects to begin working on your semester project.
Part One
- Read historic information on the Space Invaders game.
(Just in case you missed it in the 80s!)
- Play Space
Invaders. There are several other Space Invaders games on the Net, you may wish to play others for comparison
purposes.
- Create a new file and save it as
invaders1.swf.
- In your library make a canon and an alien
(or two) as movie clip symbols. They do not have to look exactly like the
original game's creatures. If you like use the movie clips to animate your
aliens or the canon.
- Place the canon on the stage.
- Program the canon so it moves when the user
presses the right or left arrow keys on the keyboard.
- Constrain the movement so the canon does
not drift off the screen.
- Make a large grouping of aliens. Best advise is to make a "row" movie clip composed
of several aliens, and then make a "swarm" movie clip composed
of several rows.
- Make the aliens move across the screen, and
descend as needed.
- You should make heavy use of FUNCTIONS in
this game! You also may need listeners as described in Ch. 2 of TFTS.
Part Two
- Make the aliens descend faster as
they progress towards the canon.
- Make an 'alien ship' movie clip.
- Have the alien ship movie clip move across
the screen at unexpected intervals.
- Create bullet movie clips for the alien and
the canon.
- Using the duplicateMovieClip()
method, make the canon duplicate a bullet and "fire" it whenever
the space bar is pressed.
Part Three
- Modify your alien movie clip so it includes
an explosion, which will be triggered if the canon hits the alien.
- Use hitTest() to determine if an alien is hit by a bullet. If the
collision occurs, have the alien explode and disappear off screen using removeMovieClip().
- Modify the canon to include an explosion.
- Have aliens randomly (or not so randomly)
release bullets.
- If the bullets hit the canon have the canon
explode.
Part Four
- Set up a score-keeping system.
- Introduce the shields. I'm still struggling
with this myself -- my best advice is to make the shields out of little one-pixel
movie clips, and as the bullets hit the pieces they disappear.
- Celebrate!
GRADING:
- 20% - Visual design (good colors, nice
graphics)
- 20% - Game design (ease of play)
- 20% - Use of textbook concepts
- 20% - Use of concepts from outside
resources
- 20% - Operability (extent to which the game
works)