Part 2 of Creating Health Bar and Damage when attacking in Unreal Engine 5 for 2D Games.

Опубликовано: 25 Июль 2026
на канале: Ambegame
991
28

Before watching this tutorial check out the first part!!!

This is the second part of how to make a health bar and add damage to the opponent. In the first part I showed you how to do damage when you run through an opponent. In this video I show you how to do damage when you attack an opponent

Buy me a coffee:https://www.buymeacoffee.com/Ambegame
0:00 Intro
0:25 Creating a Function(Hitcheck) to check if someone is in the box we deal dmg to him
5:25 Test 1
6:20 Fixing that we dont deal dmg four times rather only one time
10:30 Setting that our opponent gets dmg and plays a hit and death animation
18:40 Test 2 Subscribe and Like
Check out my other Socials:
  / ambegame  
  / ambegame  
  / ambegame  

Character:
https://craftpix.net/freebies/free-kn...


   • 2D  



#gamedev #indiedev #unrealengine #2dgames #gamedevelopment #ue5

tags:
Unreal engine 5, ue5, ue4 , unreal engine tutorial, beginner tutorial in unreal engine, 2d, 2d game,2d game in ue5, how to make a 2d game, how to deal damage to a enemy in a 2d game, how to set a healthbar for a enemy in a 2d game in ue5, how to a enemy in a 2d game, enemy gets damage when hit in a 2d game, how t make that a 2d character can attack and deal damage to a enemy which has a healthbar. Health bar for enemy in 2d game, damage system for a 2d game, dealing damage in a 2d game in ue5, deal damage when attacking enemy with a sword in a 2d in ue5 , how to dead damage when shooting a enemy with a arrow or projectile in ue5.