• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Displaying Health

A

Amoses

Guest
so I am making a tower defense type game, and i have money and rounds displayed, but i cant find a way to display health, as in if the enemy reaches the end of the path it takes off health from the player. if somebody could explain how to make that work i would greatly appreciate it!
 

rIKmAN

Member
so I am making a tower defense type game, and i have money and rounds displayed, but i cant find a way to display health, as in if the enemy reaches the end of the path it takes off health from the player. if somebody could explain how to make that work i would greatly appreciate it!
The simplest way would be to use the Other > Path Ended event in the enemy objects, then any code in here will be run if the enemy reaches the end of the path.
 
Top