Ground Pound Action

Get help using Construct 2

Post » Sun Oct 18, 2015 3:39 am

Hello, I'm making a game like New Super Mario Bros, well, i want to know how to do a ground pound action, for example, when you jump/fall and press down button in mid-air, the player freezes in air, play an animation and when it ends, the player falls quickly, How to do?
(Sorry for my bad english :? )
B
4
Posts: 13
Reputation: 226

Post » Sun Oct 18, 2015 8:15 am

Just thinking out loud:

keyboard on down arrow pressed
player is not on floor
> player disable platform behaviour
>player play animation "stomp"

player on animation "stomp" ended
> player enable platform behaviour

To get a bigger speed using the bullet behaviour for the fall might be a better solution..
just re-enable the platform behaviour after the stomping action..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Oct 18, 2015 1:08 pm

LittleStain wrote:Just thinking out loud:

keyboard on down arrow pressed
player is not on floor
> player disable platform behaviour
>player play animation "stomp"

player on animation "stomp" ended
> player enable platform behaviour

To get a bigger speed using the bullet behaviour for the fall might be a better solution..
just re-enable the platform behaviour after the stomping action..

Doesn't working for me, i do that, and when I press the down button the player just freezes in the air and don't play the animation
B
4
Posts: 13
Reputation: 226

Post » Sun Oct 18, 2015 1:24 pm

As far as I can see, it should work..

Maybe you have conflicting events?

The event does trigger, because the player stops in the air..
Issue seems to be the animation not playing (and therefor not finishing)..

Do you set the animation to another animation (idle maybe) every tick nothing is pushed?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 12 guests