Boxing Game Update 2 (7/01/24)


I began with a blank UE5 project and set my sights on adding coherent movement for my competition gamemode.

I decided to use “EnhancedInput” as it was more suited to my control scheme:

Establishing editable Input Mapping Context and Actions

At first I used the “AddMovementInput” function for my movement:

Setting key binds
Setting dodge up

However, using “AddMovementInput” proved irratating as my movement is based on tapping the directional keys. Therefore, I opted to using a simple set location for the time being:

“SetActorLocation” system

Enemy

I began creating my enemy with a Punch function, initially this will randomize a direction and move the enemy. If the enemy has moved then their position will be reset upon the next timer tick:

Setting Start Location and Timer
Punch function that will move the enemy

This will evolve to be a hit on random sides of the player.


Leave a Reply

Your email address will not be published.