Download

Paper2D Keyboard Input/Animation Blueprint

Hey everyone,

I just started using Unreal Engine not too long ago, and am really impressed with the blueprint feature. It’s really refreshing to see such a nicely designed front-end when you’re working through your logic. That being said, I’ve run into a bit of a roadblock. And I need some help on how I should make my logic work.

What I’m trying to achieve is:

When I press the up arrow key, my character’s animation updates to his back turned to the camera.
When I press down, the animation updates to him facing the camera.
Likewise with left and right.

When I hold the up arrow key, my character’s animation updates to him walking with his back to the camera.
Holding down, animation updates him walking facing the camera.
Same with left and right.

Finally coupling spacebar with the arrow keys, my character’s animation updates to him running.

A few notable examples of what I’m trying to achieve would look like the main characters from: legend of zelda games, final fantasy, harvest moon.

I have all my sprites created and they are using the flipbook type.

Here is my logic thus far:
b98f021bb0023fe24452c624f9929ae824f11db5.png

e164b29ee86d73f9d6d23239fcc80219e375cfa0.png

d2a5fff8c2e08f8884ecf4f8c731b71a2d59bb81.png

P.S. I apologize in advance if I put this in the wrong forum. I wasn’t exactly sure where to put this, since this post talks about animation and keyboard input. :cool: