How can i make health system like this
https://www.youtube.com/watch?v=gWhU7OnRvIM&t=140s Need help with this and might start from scratch so any help would be cool
asked Mar 06 '18 at 03:39 AM in Blueprint Scripting
Honestly, never made one like that before. I started messing around with it though and I think you can probably do it by using the "overlay" option in the widget/UMG editor. I put 2 progress bars in the overlay. One is the player's current health, similar to the green bar in the video, the other in the background (red bar) is the player's "max" health. Set the first bar to have a background image alpha of 0, this way the red bar shows through when the green bar decreases. Set the red bar (the one behind the green bar) to have a black background. So when you decrease it there is a black "image" behind it. I got a very quick prototype working with some super basic logic but I got 2 bars on top of each other. It is late so I haven't had a chance to give you logic that will work for how to manipulate both bars independently in the exact way you want but I think that is easy enough to do you can probably figure it out. Hope this helps!
answered Mar 06 '18 at 05:35 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here