Fight to survive against the monsters!
In this game I was responsible for all of the programming. The game consists of a player that can move, jump, shoot, use an axe attack, and has a health bar determining the game’s length. And AI enemies that chase the player around the stage and deal damage on contact. Once the player reaches 0 health the game is over and the player may restart.

The player can move the mouse cursor to the left or the right of the character and the character will face that direction. The player can still move both left and right no matter which way the character is facing. The player can click the left mouse button to shoot at enemies dealing a small amount of damage with each hit. The bullets will go in the direction that the character is facing.

The player can also hit the right mouse button to perform an axe attack. This is a close range attack that will do more damage to enemies and knock them back a little. It is meant to give breathing room to the player.

Once enough damage has been dealt to an enemy through either shooting it or hitting with the axe attack the enemy will die. This will add a point to the score in the top right. The objective of the game is to get as many points as you can before you die.

If an enemy makes contact with the player the player will be knocked back and take damage. The health bar in the upper left will display the current health of the player and tick down when taking damage.

Once the Player’s health reaches zero the player will die and the character will explode leaving behind only his head. The game is then over. The final score can be seen in the upper right and the player can choose to quit the game or be taken back to the main menu to play again if they so wish.