Player Damage and Create a Health Bar UI - Godot 4 Tutorial - Pt 15 - 2D Platform Game

Опубликовано: 08 Ноябрь 2023
на канале: Rapid Vectors
6,790
213

Part 15 - This tutorial will teach you how to apply damage to your player from enemies. When the player receives damage, you can display this using a player health bar in a UI which is displayed on a game screen This tutorial will help you get started with creating a 2D platform game using the Godot game engine.

Download the following Game Assets (the link has been changed since recording the original video)
Created by @ansimuz
💡 https://ansimuz.itch.io/gothicvania-p...

Download the ZIP file and the assets are under the warped-caves folder in location
Legacy Collection\Assets\Packs\warped-Caves

Download the following Game Assets (OLD ASSET LINK)
Created by @ansimuz
💡 https://itch.io/queue/c/463790/warped...

Pixel Platformer
Created by @KenneyNL
💡 https://www.kenney.nl/assets/pixel-pl...

Subscribe to my channel for more tutorial updates
🔔    / @rapidvectors  

My code scripts are at my GitHub account
🔔 https://github.com/rapidvectors/tutor...

Would you like to buy me a coffee?
☕ https://www.buymeacoffee.com/rapidvec...

🎬 Video Chapters
0:00 - Introduction
0:29 - Create a player hurtbox
3:37 - Create a health manager
7:18 - Create health bar UI
10:05 - Using a signal in health manager
12:00 - Make a game screen for the health bar

#godot #godot4 #godotengine #indiegame #indiedev #indiegamedev #tutorialyoutube #gamedev #gamedevelopment #gamedevelopmenttutorial #godottutorial #gdscript