Загрузка...

Create a HEALTH BAR in Unreal Engine 4 (Blueprints)

This is a tutorial on how to create a basic health bar in unreal engine 4. But also on how to take damage/heal in blueprints. (UE4 tutorial). You can reuse this for a stamina & mana bar

By creating this health bar, we learn about creating a player HUD(heads up display) and UI widgets.
We also cover what a progress bar is and how we can anchor it so the health bar stays at the same position no matter your aspect ratio. At the end we also cover a basic health system and show you how you can program the player to take damage and heal.

⏮VIDEO CHAPTERS⏭
0:00​ - End result
0:10 - Creating a player HUD widget
0:23 - How to anchor your progressbar
0:40 - How to change colour
0:50 - Progress bar value explanation
1:09 - Instantiating the HUD
1:36 - Setting up our health system
2:22 - How to take damage/heal
2:54 - How to debug our blueprint
3:00 - Attaching our health to the HUD
3:10 - Method 1: Bind function
3:34 - Method 2: Separate function

🔔 Subscribe for future tutorials : https://bit.ly/3f5O7VN

Background music:
Oxygen Garden by Chris Zabriskie is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/by/4.0/

Source: http://chriszabriskie.com/divider/

Artist: http://chriszabriskie.com/

Want to see other content of mine? Check out my other channels or socials:

Travel content:
Documentaries: https://bit.ly/38Vh70T​
Photography: https://bit.ly/2WNMcfZ​

Game content:
Stream highlights: http://bit.ly/37TMlVp​
Stream vods: https://bit.ly/2KFW7kM​
Dutch videos: http://bit.ly/34SiL0K​

Socials:
Facebook: https://bit.ly/2INRjJt​
Instagram: https://bit.ly/2J9HzJu​
TikTok: https://bit.ly/3i6DpiY​
Discord: http://bit.ly/3hlW4qL​

Have a wonderful day :)

#PyjamaKing #PyjamaKingTech #UE4Tutorials #UnrealEngineTutorials

Видео Create a HEALTH BAR in Unreal Engine 4 (Blueprints) канала PyjamakingTech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять