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-samurai
https://brullov.itch.io/oak-woods
🏃How to make a 2D game in Unreal Engine:
💥Hitstop Tutorial:
If you enjoyed this video, please subscribe: http://www.youtube.com/channel/UCoKYIjbaEX4mnR8IWwtuBwA?sub_confirmation=1
● Twitter: https://twitter.com/CobraCodeDev
● Discord: https://discord.com/invite/7VVeuZBy42
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
Voir sur youtube