How do i code a simple health bar using the texture progress

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nightmare

Ok so i want to make a health bar but i already have one but its kind of stupid and is taking up a bunch of useless space and its an animation not a health bar thing. So i want to be able to get the health from the player script and get that value from the texture progress script and set value using the texture progress. I feel like this should be easier but im stupid

:bust_in_silhouette: Reply From: SF123

You can check out this great tutorial by Game Endeavor about making a health bar for your game using a TextureProgress node, and it even shows how to polish it and make it look good.

Video: https://www.youtube.com/watch?v=YEZXVK1-tlU

  1. Yes i’ve gone over that video multiple times and it still dosent show how he connected the health to the texture progress

Nightmare | 2021-09-28 12:04