How to add footstep sound fx on a character in a 2D side scroller level?

Hi,

I’m kind of new to UE4 and have gone through a fair few tutorials/training on blueprints and how to use the editor, but I’m struggling to find anything on how to add sound in a 2D Side Scroller. In particular, I am looking to add footsteps and jump/landing sounds to a character in a 2D sidescroller level. There are many fantastic tutorials about adding sound/music to a level (such as this nice quick tutorial - Unreal Engine 4 Tutorial - Footsteps (ThirdPersonTemp) - YouTube), but the issue i’m finding is that they are all built around 3rd person levels.

I thought that there would be some transferable skills between them, but i’ve been struggling with making the project work, can anyone help out/offer advice on where to look?

Thanks

Hi!

The Paper2D not support Notify system like in Persona. But you can add sound your self.
I use Paper2D template for this example.

Open Paper Flipbook RunningAnimation. We need frames 7 and 15.

Open a blueprint 2DSideScrollerCharacter and add these nodes. I captured events of footsteps from the flipbook, using Get Playback Position in Frame node.

Open Sound Cue and set Max Concurrent Resolution Rule to Stop Oldest

This is result. Bad sound is a problem of the screen capture program.

Wow, thank you for the quick response. Your guide has been very helpful.

I dont understand nothing. Can you explain it a little bit better please?

Perfect. Thank you so much for sharing this. It helped me set up the walking and running sounds in my game :slight_smile:

I’m a bit confused at picture #3: what should I be looking up to attach frame 7 & 15 to Get PlayBack Position? Also what does your OR do you in your picture?

Attach it to integer equal