Preview damage on Health Bar
Hello,
I'm trying to do a preview damage on health bar. I have a game where the player can charge a shot, this shot will destroy your HP, more you load it more hp will be decreased. For this I want to feedback the player with an HUD bar.
Like we can wee on the screen I have a hp bar, represented by the red. The gray part is the preview of the damage, I'd like it to fill up (from the right) to show how much this shot will take from your life and then, when the player released the shot it wil substract it from the health bar.
Actually, my health bar is just a slider that has values edited in script, and since I don't usually work on HUD i'm not used on doing something like that, which means I absolutly don't know where to start.
Thanks !
Your answer
Follow this Question
Related Questions
on collision, cause damage script 0 Answers
Enemy Can't Take Damage!!! 0 Answers