How to Make a Health Bar in Godot 4 | tutorial | GDScript

Published: 10 October 2023
on channel: Maker Tech
34,781
777

Health Bars are super common in a lot of games, and after I made the tutorial on player health using hearts, I've been asked a bunch of times to make one about health bars.

So here it is.

Support the channel on Patreon:   / makertech  
Support the channel with a Youtube membership:    / @makertech  
Join the Discord server:   / discord  
   • How to Make an Action RPG in Godot Se...   - How to Make an ARPG in Godot 4 playlist

In this tutorial I will show you two useful Godot nodes for creating health bars.
You can also use them for other types of progress bars.
Like showing the duration of a spell cast.

00:00 intro
00:43 setup
01:20 Progress Bar
02:34 Script
04:26 TextureProgressBar
06:26 NinePatchRect
07:00 Other options
07:27 Thank you

---------------------------------------------------------------------------------------------------------------------------
Download Godot: https://godotengine.org
"Ninja Adventure" asset pack: https://pixel-boy.itch.io/ninja-adven...
My additional assets pack: https://makertech.itch.io/additional-...
ProgressBar: https://docs.godotengine.org/en/stabl...
TextureProgressBar: https://docs.godotengine.org/en/stabl...
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Reddit:   / makertech  
Instagram:   / makertech_dk  
Twitter:   / makertech_dk  
Youtube channel:    / makertech  
---------------------------------------------------------------------------------------------------------------------------

#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame


Watch video How to Make a Health Bar in Godot 4 | tutorial | GDScript online without registration, duration hours minute second in high quality. This video was added by user Maker Tech 10 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34,781 once and liked it 777 people.