Platform - On Stopped doesn't trigger after jump

0 favourites
  • 5 posts
From the Asset Store
Complete game Construct 2 and Construct 3 to post on Google Play
  • Hey,

    platform On stopped won't trigger if I jump after moved, and then leave the right/left key in mid-air and then land on a platform.

    I'm using a "PlayerBox"(rectangle) for the platform behavior, and "Player" sprite for the animations "by the book".

    I've used the Platformer template provided by construct2, i've just inserted my own character to the template.

    Link to .capx file (required!):

    dropbox.com/s/ldfb7vf2dkydc0x/Grock.capx

    Steps to reproduce:

    1. stand on any platform.

    2. press right/left to move.

    3. while moving press jump.

    4. in mid-air leave the right/left key.

    5. land on a platform.

    Observed result:

    Platform - On stopped doesn't trigger and "Walk" animation still playing.

    Expected result:

    Platform - On stopped triggers and "Idle" animation should play.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 64 bit

    Construct 2 version:

    Release 139 (64-bit)

  • I've added on-landed events like the platformer tutorials said:

    <img src="https://www.scirra.com/images/articles/platformanimationevent5.png" border="0" />

    It fixed the issue,

    I guess "On-Stopped" won't trigger on mid-air by design than

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can't reproduce in r145.

  • Can't reproduce in r145.

    Ashley

    Hey Ashley, thanks for your reply,

    as I mentioned, i've added those events to fix the issue:

    <img src="https://www.scirra.com/images/articles/platformanimationevent5.png" border="0" />

    If you'll remove them you'll reproduce it.

  • It's still by design. Handling 'On landed' is the correct way to solve this.

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