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

Показать описание
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.
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
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame
So here it is.
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
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame
Комментарии