Cool! I usually use 3 sprites for health bars. One is an outline and has a tail of white on the end, one is the red that represents lost health, and one is a green bar, which actually moves. Based on its health and position, it calculates where it needs to go. But your version is much simpler and better. :)
Comments
You need to be logged in to post comments
Add a Comment
Cool! I usually use 3 sprites for health bars. One is an outline and has a tail of white on the end, one is the red that represents lost health, and one is a green bar, which actually moves. Based on its health and position, it calculates where it needs to go. But your version is much simpler and better. :)
Nice, might use it for an enemy health bar in a game of mine, I'll give full credit to you though :).