Summary of accomplishment:
- Modeled and animated a trap: spears that shoot up from the ground
- Animated a faster walk, faster attack, and new run cycle
- Created two simple grass meshes
My main goal tonight was to make some traps to populate the game and create some obstacles. I started off by taking my existing block mesh and using booleans to cut holes from it. I modeled spears into the holes and then quickly animated them shooting up.
Next, I decided that I was tired of moving so slowly during testing so I scaled up the normal walk and called it FastWalk. Then, I duplicated that and modeled a very fast 12-frame run. When the player holds shift, the Run
variable is set to true and the max walk speed becomes 480. As a result, in the animation blueprint, the state changes from Walk to Run.
I started to setup layered animations to blend the attack and run together, but unfortunately I did something wrong and the attack animation barely moves the player’s arms if played during run. I wonder if it has something to do with the animation scale. I’ll need to do more studying and testing.
And finally, I modeled some simple grass meshes. I’ll paint them into the game sometime soon.