Issues with basic rolling animation

Get help using Construct 2

Post » Sun May 01, 2016 7:20 pm

Hi All,

I'm new to using Construct 2 and am half following the platformer tutorial, I'm at a bit of a loss as to how to correctly get a rolling animation to play properly.

I have keys setup so that if I press right my walking animation runs, if I press left my walking backwards animation plays and when I press down I duck.

This is all fine, for rolling I have tried the following:

Conditions
Keyboard - Right arrow is down
Keyboard - Down arrow is down

Event
Player set animation to 'Rolling'

It switches to the rolling animation but sticks on the first frame and never actually plays the animation. I imagine I'm just being dense but this is the first issue I haven't found a quick answer to with a Google search so thought I'd try the forums.

Cheers,
DripFedFred
B
4
Posts: 8
Reputation: 216

Post » Sun May 01, 2016 7:29 pm

Hey Fred,

This could be because you're causing it to toggle between your rolling animation, and your walking animation.

Try adding "Down arrow is down" on your walking animation, and then toggle it to invert, this may work

Jay
B
4
Posts: 10
Reputation: 220

Post » Sun May 01, 2016 7:33 pm

That did the trick!

New to this community, anyway I can 'upvote' you for a quick and correct response? :p

Many Thanks!

Fred
B
4
Posts: 8
Reputation: 216

Post » Sun May 01, 2016 7:37 pm

Glad to hear it

Haha, not that I know of.

Good luck with the platformer!
B
4
Posts: 10
Reputation: 220


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 45 guests