Starting to understand UE5!


Hello guys!

In this devlog I would like to talk about how I did this project.

I started by doing Movement, I did it using CharacterMovement component and simply setting running or idle flipbook.

After that I realized that setting up flipbook like this would be pretty dirty, so I made my own animator class which contained list of my own made animations. The animation class has repeat bool(if the animation should repeat), the flipbook and the name of the animation. Then at the start of the game I loop through this list of animations and I convert it to TMap(Something like dictionary in c#), with the key of animation name and the animation as the value. Thanks to this all I have to do I just call a function that will take in the name of animation and it will play the right flipbook accordingly.

Then I made some input actions more specifically rolling and shielding.

Now basically the player was done all that's left was the archer and the arrow. Archer was simple I just checked if the distance was lower then some value if yes he would shoot an arrow with some delay, otherwise he would move towards the player.

The arrow was simple too because Unreal Engine has already projectile movement component, so all I had to do was spawn it set some variables and that's it.

Get Untitled laser sword game

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.