PlaceholderGames / 2016-InfiniteReplayGame

A 2D post-apocalyptic run and gun game with a significant resource management element.
0 stars 0 forks source link

Adding enemy health bar #23

Closed HopkinsJ closed 8 years ago

HopkinsJ commented 8 years ago

Adding an enemy health bar to indicate how much health the enemy has.

WilliamAkins commented 8 years ago

On either the actor event for the enemy or by creating an actor behavior and attaching it to the enemy, you should make an actor to actor type collision event so the game is only referencing 1 particular instance of enemy and then add a drawing event so that once hit it displays the text above the enemy head.

HopkinsJ commented 8 years ago

Ah, I see. It works now, thanks for the help. Closing issue.