Hello... is it possible for me to have a life bar (WITHOUT USING SPRITES) so I can divide the total hp into pieces... for example if the HP is 20 the bar is in the center... if it is 10 it would be 1 piece 10px and so on...
I know how to create the size of the bar one by one px...
hp/Maxhp * bar width
But now I would like it to behave in closer sectors...