How do I make enemy health, and how to deplete it

Master.Oogway
Mon, 18 Jan 2016 12:24:44 +0000
Asset Creation

RIGHT this is my game. i have finally figured out how to make the player health (watched the video in youtube) and next i want to proceed making the enemy health. the enemy is the tank above. i am able to shoot left clicking and the bullets collide with the tank enemy. all i want now, is apart from making a boss health bar, make it so when he gets hit by the bullets, the health gets depleted. every little help from anyone counts.
thank you for your attention.
ADDDITIONAL INFORMATION: I am making a top down 2d shooter so i chose to start with twinstickshooter template instead of from scratch. its going well so far but when i do: cast to (character) it doesnt show cast to twinstickpawn. in youtube videos they use cast to firstpersoncharacter so i dont know why it wont cast to twinstickpawn and this makes me not be able to use most tutorials

3 posts - 1 participant