CSE 190m Flash Sessions: Homework 3

Due Saturday, May 21

For this assignment, you will be writing a Flash game. The assignment is very open ended, and you are welcome to build as complex of a game as you like. We will be giving you a large amount of time (2 weeks) to work on your game. Your game must meet these minimum requirements:

  1. Three distinct game states: paused (before the game actually begins), running (while the gameplay is taking place), and finished (after the hero dies, or the game is won).
  2. Five distinct "game objects." You might want some sort of hero that the user controls. This would count as one game object. Other game objects include: enemies, obstacles, power ups, physical platforms, etc. Graphics in the game that the player cannot interact with do not count as game objects. Each game object must have a distinctive graphical representation.
  3. A text field indicating some game parameter. In our example, we had a text field which showed the time. Your text field could show the number of points that the user has collected, or the number of lives they have left.
  4. A theme. Your game must have some sort of theme or "story." What is the name of your hero? Why are you trying to kill enemies? Create a backstory for the gameplay. You can describe your backstory in the instructions.txt file you turn in, or build it into the game itself.

In our in-class example, we created a game where the user could move the hero around the stage with the arrow keys. Some games, such as puzzle games or point-and-click games, do not have this kind of motion. You are welcome to create such a game, although you might find it harder to follow the example code if you do.

In order to allow the player to interact with your game, you will need to use event listeners. There are no requirements on what events you must have, but the game must allow either keyboard or mouse interaction.

You will turn in two files: