So with any game with enemies in it its good to know how much health that enemy has. Making the enemy health bar wasn't much of a problem. What was the problem was that I noticed when the level starts you can see all the enemy health bars throughout the entire level. That's no good because its both distracting and allows you to see where every enemy is.
After thinking for a short while I came up with a simple solution. To only show the health bar when the player is close enough to the enemy. I did this using a sphere collision to detect when the player is close.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.