Issues with basic rolling animation

  • 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

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That did the trick!

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

    Many Thanks!

    Fred

  • Glad to hear it

    Haha, not that I know of.

    Good luck with the platformer!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)