E
Eklips_Studios
Guest
Hi guys, I'm having trouble figuring out a way to create a custom health bar using spites/objects.
In my game, I want the player to start with 8 health pieces, and he can find more health pieces throughout the game to upgrade his maximum health capacity.
Basically I want the health system to be just like it is in the Zelda games.(See example picture below.)
Any idea how I would go about coding this in an efficient manor? I can only kinda think of some ugly ways to do it, but I'm completely stuck on a good way of doing it.
Any help would be greatly appreciated.
Cheers.
In my game, I want the player to start with 8 health pieces, and he can find more health pieces throughout the game to upgrade his maximum health capacity.
Basically I want the health system to be just like it is in the Zelda games.(See example picture below.)
Any idea how I would go about coding this in an efficient manor? I can only kinda think of some ugly ways to do it, but I'm completely stuck on a good way of doing it.
Any help would be greatly appreciated.
Cheers.