|Topic was automatically imported from the old Question2Answer platform.
I want to make a health bar for my 2D top down character which is similar to the MOBA games.
For instance, this is the image of a health bar in the game called Leauge of Legend:
This is the health bar of a level 1 character in the game
This is the health bar of a level 13 character in the game (sorry for the blurry image)
As you can see, when the character’s health increases, the health bar has more “sticks” inside it, which let the player know how much health the character has with only a glance.
I have no idea how to create this kind of health bar, so it would be great if you can give me a code sample or at least a few hints. I couldn’t find any tutorials related to what I intend to make, so any of your efforts are deeply appreciated.