2D MELEE COMBAT in Unreal Engine 5 - Beginner Tutorial

Опубликовано: 12 Март 2026
на канале: Cobra Code
106,776
2.9k

Get my 12 hour course on how to make 2D games with Unreal Engine:
https://tinyurl.com/Ultimate2D

Support the channel on Patreon:
  / cobracode  

This video will teach you how to make 2D sprite based MELEE COMBAT in Unreal Engine 5. We'll go through the process of setting up a hitbox and triggering it on the correct attack frame. We'll then apply damage to the other character and also create a simple health system.

Used Assets:
https://jacob-aberdevine.itch.io/red-...
https://brullov.itch.io/oak-woods

🏃How to make a 2D game in Unreal Engine:
   • How to make a 2D game in Unreal Engine 5 -...  

💥Hitstop Tutorial:
   • Add HITSTOP to your game in 5 minutes - Un...  

If you enjoyed this video, please subscribe:    / @cobracode  
● Twitter:   / cobracodedev  
● Discord:   / discord  

Timecodes:
0:00 Intro
0:23 Playing the attack animation
1:57 Creating a hitbox
2:51 Implementing hit detection
5:18 Setting the attack trigger frame
7:22 Using sockets to play a particle effect
8:44 Applying Damage

Icons made by Freepik (https://www.freepik.com) from Flaticon (https://www.flaticon.com/)

#cobracode #gamedev #madewithunreal #indiedev #gamedevelopment