How do I make a "Super Mario" grow animation show up during movement?

0 favourites
  • 3 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • My issue is that with the platform behavior I have it set to IF MOVING, show RUN animation or ELSE show IDLE animation. I have a grow animation going between two states but it won't run because the sprite is still moving, and therefore shows the run animation.

    How do I temporarily freeze the character to let the animation run before restoring movement?

    I've tried several things (including making gravity and deceleration 0) and even disabling platform altogether and had unexpected outcomes.

    Thanks for any advice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use/create a boolean variable lets say "Grow" and check IF MOVING AND GROW is false show "Run".

    When the player collide with the bonus item turn the "Grow" to true to release your player from the current animation and play the Grow animation.

    After that on animation Grow finish turn the "Grow" to false again to continue play the run animation.

  • Thank you so much! That worked PERFECTLY!

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