DESN 1131 Mid-Term Exam
This exam is worth 20% of your overall grade in this class.
GOAL:
Reproduce a simple typing game.
This is the game you are trying to build:
This is the wireframe document that shows you how the game is structured:
These are the classes that the sample game uses. Your solution should contain the same classes:
In the above diagram, the Document Class is highlighted in blue.
The arrows indicate that those three classes inherit from the Screen class.
The classes that are asterisked have a companion MovieClip class linked in the library.
REQUIREMENTS:
Your game must match the functionality of the sample game.
Your game must be built using classes and external Actionscript (.as) files. You may not have any lines of code within your main timeline or MovieClip timelines.
Your solution must make use of the following:
- custom class inheritance (hint: you could make a Screen class that your other screens inherit from)
- at least one method that accepts an argument
- at least one instance variable somewhere in your code
- a MovieClip linked in the library that you instantiate with code and place on the display list (hint: your screen and monster instances can both do this)
- a nested loop that lays screen elements out in a grid (hint: hmm ... those monsters are in a grid)
- the clickable Play and Play Again buttons should both display the "finger" icon
NOT REQUIRED:
These elements in your game DO NOT have to exactly match the sample game:
- graphics
- colours
- copy (words)
IMPORTANT:
You may encounter a problem where you press keys on the keyboard but nothing happens, even though you checked "Disable Keyboard Shortcuts". Try clicking on the game first. If the keyboard suddenly responds, you need this piece of code to fix the problem:
stage.focus = this;
Add that line just after you set up you KeyboardEvent listener, and it should work. You will not be penalized if I have to click on the game screen first before I can kill your monsters.
HANDING IN YOUR MID-TERM EXAM:
Add ALL of your files to a zip archive file. This includes your fla, your swf, your .as files, and your FlashDevelop .as3proj file if you have one. Name the zip file using your first inital and last name.
Example:
My name is Ryan Creighton, so i would name the zip file rcreighton.zip.
Use your own name. DO NOT send me a file called rcreighton.zip.
email the file to profryan@untoldentertainment.com. If you want to be sure it reaches me, add your own email address to the cc (carbon copy) line. If you receive the email, I'll receive the email.
Failure to email your properly-named zip file to me by the end of class at 6PM will result in a zero grade - no exceptions, no extensions.