Beruflich Dokumente
Kultur Dokumente
flying dragon. The aim is to kill the enemies in the shortest possible time (the time
taken determines the type of performance, the best being a four star performance).
Usage: Start the program by running RUNME.m. Here you can start the game as
well as see instructions. Once you press start, you will be asked to choose the level
after which the game starts.
Options : Player can choose from two levels.
Features: Three shots required to kill the large enemy.
Your performance depends on your time and ranges from a single star to a four star
performance.
Movement and shooting is all done by keyboard.
Programming:
Structure:
Main program is started by running RUNME.m. Instructions.m displays instructions.
Green.m calls instructions.m.
Levels.m shows the levels menu and is automatically called when start is selected
on the RUNME.m .
Quit.m closes all. Functions Star4, Star3, Star2 and Star all call separate winning
scenarios, depending on the time taken to complete the game (these are
automatically called when the player completes level. Function gameover.m calls
losing scenario. These five functions also call the file RUNME at the end of
execution. Level1.m and Level2.m run their respective levels.