Character Blueprint Part 1


Starting My Character Blueprint

Jump

Starting my unreal project, I first wanted to set up and adjust my character. Give him a couple more things such as health and stamina with a sprint function and adjust the jumping so you can't jump as high as before, setting up variables.



X and Y Movement


After setting up the jumping, I decided that just moving in 2D space is boring, so I want to have a sidescroller that you can move back and forth in too. In the begging this was very tricky but I managed to figure out a solution by modifying the current inputaxis move right and adding inputaxis move back so that you can move in the X and Y axis'. This will add more depth to my game (literally). This would make it so that the models in game are not just there to add aesthetic to the game, but actually serves a physical function and can be used to add to the games interactivity.

Health & Stamina

This is where my blueprint for my character gets slightly more complicated. I want to add stamina and sprint function to my game, as well as health. I'm planning on adding enemies that you can fight later on and this would be important to that aspect if I get round to doing it.Luckily there is already a sprint function in the game, so that make this easier. I just adjusted the characters default movement walk speed and added the sprint function that increase the walk speed. I linked the sprint input with a number and linked all of it to a widget on the game HUD which I quickly put together before hand. There had to be stamina regeneration too so you cant just sprint forever. This was quite complicated and being new to Unreal Engine, too a good tutorial from YouTube to accomplish...just like everything else that's going to come after this.



Comments

Popular posts from this blog

More Nodes