Friday, 5 December 2014

Melee Attack

The melee attack is the main attack in the game. It is a simple attack that deals damage to the ai enemy.

The way it works, is the enemy has a trigger collider on it and when the player enters the colliders bounds it will be marked as able to be attacked. If the enemy is attackable and the user presses the 'keypad 0' button, the enemy will take damage

This is currently a simple version of the attack which will be advanced upon at a later date when advances in other areas have been made to allow for extension to this.