top of page
  • Writer's pictureDavid Flores

Creating Health Bars in Unity

Updated: Aug 13, 2019

It has been a while since I last posted something here, but I'm finally ready to get back into the swing of things. To start, I decided to learn how to create a health bar-like UI element in Unity.


I utilized this tutorial while learning, and the result can be seen below.

Health Bars.
Unsurprisingly, running into a wall hurts you.

The two bars in the upper-right corner are the UI elements that I created with this tutorial. The upper one is a health bar that goes down as the blue player runs into the red danger zone. The lower is a countdown timer that decreases as time passes.

 

Now I have a way to actually measure my success.

12 views0 comments

Recent Posts

See All
bottom of page