UE 5 Combat
ROLE
Programmer
DESCRIPTION
This project is one I started to teach myself the ins and outs of Unreal Engine 5 and C++.
My focus is to create an action combat system using a combination of C++ and Blueprints.
This is a learning project I'm working on to improve my skills in this area during my free time.

Stats and hit detection
DESCRIPTION
Using enums, I ensure that both the player and the boss have certain stats we can reference through interfaces and events.
From there, I linked animations to create a combo attack and traced a hitbox around the sword to check for collisions with the enemy.
When a collision occurs, I reference the enemy’s HP stat and decrease it using our power stat.
Fireball
DESCRIPTION
Using spawning in C++ and detecting the player's position when in range, I created a projectile for the enemy to fire at the player.
The enemy knows when to fire through an animation notification and uses the GetWorld function to access the necessary information.
I also use the animation notification system to determine when the enemy should rotate to improve the feel of the attack. The system calculates the locations and rotations of both the enemy and the player to properly set the enemy’s rotation at the moment of firing.
And of course, when the fireball collides with the player, it deals damage, changes its particle effect, and then destroys itself.