[ame="
http://www.youtube.com/watch?v=I_P1hGivdXo&list=UUgvh4QDeWF_9Bsyutq6mBxQ"]LostDepths3 - YouTube[/ame]
Here's a small UE4 project I've been working on in my spare time.
I started with the FPS blueprint template and built from there. The player character BP has jump, dodge and run. I also added camera shakes to all of the movement. There's only one melee attack for the player and the art is super-proto. The enemy uses behavior trees for the AI, has 3 attacks, 2 hit reacts.
The map shown is just my small AI testing map. I wanted to make sure I could get some combat going before I actually build any encounters.
Replies
In UE4 we've removed unrealscript and everything is either C++ or blueprints.
Intro to Blueprints:
https://www.youtube.com/watch?v=cRhWc2kAhqI&index=60&list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE
I tried setting up a camera tilt for strafing blueprint but I had to use the roll input controller instead of setting the cameras rotation which created a lot of problems when I needed to figure out where the camera was in order to roll it back to a neutral position that I wasn't able to solve.
It looks fantastic by the way, seeing your videos in waywo is what made me pick up UE4 and (try to) learn blueprint and it's been a blast
Here is my calculating my dodge direction:
Applying dodge to launch and my custom camera shake function:
here is my custom camera shake function
To make a camera shake asset create a blueprint with the parent class camera shake.