Platform Jump Controls Issue

  • Hey everyone!

    I am trying to recreate the classic death animation we all know from Super Mario. You know the one where Mario runs into an enemy, gets thrown up into the air and then falls down off the screen. That's what I am trying to recreate. I do have a few problems though.

    First, I can get the platform controls to disable themselves but then the Simulate Jump won't function properly. If I leave them enabled, the user can still control the player.

    Second, how do I disable Platformer collisions? I would like the player to fall off the screen. Here is what I have so far.

    <img src="http://imageshack.com/a/img541/6149/2zhb.png" border="0" />

    Thank You,

    Stephen

  • If you're going to use ignore input then you'll have to use events to simulate the jump rather then behaviors (although if it were me I would just use a sprite animation for it).

    Then use make solid disabled in events (be sure to re-enable it when the layout restarts).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could also make the death animation a sprite animation that plays upon death.

  • You could add a condition to your key input...

    player health >0   >move player

    on key pressed

    would disabling collision on the player not allow him to just drop through the platform?

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