Health and Damage


The blue player character will now take damage (show in the top-left corner) when it touches a one of the red characters. When the player's HP hits 0, the player character is deleted (game over).  This is done simply by having the player detect when it its touched by an enemy, lowering the it's HP, and destroying the enemy.


The spawners (grey cylinders) spawn a new red character every 5 seconds that then chases the  player character. 


The green box represents a health pack that the player can collect to restore 5 Health points.