In this tutorial we will build a re-useable health bar GUI for our boss, or any enemy you like.
Topics Covered: TextureProgressBar, NinePatchRect, health bar, hp ui, atlas texture
New Assets Needed:
wizard_boss.zip
Asset Download Page: https://michaelgames.itch.io/2d-actio...
GitHub Repo: https://github.com/michaelmalaska/aar...
Discord: / discord
--------------------
Chapters
--------------------
0:00 Intro
0:25 Overview
2:00 Setup Nodes
4:33 Configure boss name label
5:48 Configure TextureProgressBar node
7:02 Under texture
8:35 Progress texture
9:51 Size and position TextureProgressBar
11:22 Discuss reasons for NinePatchRect vs the TextureProgressBar "over" texture
12:25 NinePatchRect configuration
16:18 Refine progrtess bar and overlay alignment
19:14 Script functions for HP Bar UI
27:00 Show health when encountering the boss
28:40 Update boss hp bar when he takes damage
29:59 Hide hp bar when we defeat the boss
31:48 Outro
--------------------
Series Playlist: • Make a 2D Action & Adventure RPG in Godot ...