Platform Jump Controls Issue

Get help using Construct 2

Post » Tue Jan 28, 2014 3:11 am

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.



Thank You,
StephenTekniko2014-01-28 03:12:38
B
56
S
15
G
13
Posts: 825
Reputation: 17,643

Post » Tue Jan 28, 2014 3:22 am

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).Burvey2014-01-28 03:27:16
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Tue Jan 28, 2014 3:26 am

You could also make the death animation a sprite animation that plays upon death.

B
83
S
40
G
15
Posts: 987
Reputation: 16,847

Post » Tue Jan 28, 2014 4:56 am

B
10
S
4
Posts: 133
Reputation: 1,543

Post » Tue Jan 28, 2014 11:40 am

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?
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests