Você está na página 1de 2

MATLAB Project: Modern Hercules

By: Muhammad Abubakar


Roll Number: 2017-10-0056
Summary: This is a first person shooting game. There are two levels. Each contains
two types of enemies, those which kill Hercules by coming into contact with him and
those which try to shoot him these can only be killed with three shots). The later
arrive after all the former have been shot down. Hercules takes on his enemies on a

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.

Você também pode gostar