Is there an easy way to set a separate jump animation for a double jump?

0 favourites
  • 2 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hi all, I've never really played with the double jump feature in the platform behaviour but have been having a quick look at it, and am I just missing something but there doesn't seem to be an easy way to set a different animation for the second jump in a double jump? This is pretty much a staple in any polished platformer with a double jump mechanic (eg the first jump is a regular jump, the second one is a spin etc). The only way I've found to do it is by tracking it with a variable and then using a vector y on the second jump to simulate the double jump (not actually using the one built into the platform behaviour). It feels like an "on double jump" would be super handy to have. Any tips here?

  • 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 a variable but easier than how you described, you add 1 to it (max 2) when the jump key is pressed, and reset it to 0 when you land. So if var=2 that means you are double jumping so set the animation when var=2

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