Destroying an object by jumping on it

Get help using Construct 2

Post » Mon Jul 14, 2014 10:41 am

Hello everyone,

I want to destroy an object when the player is jumping on it. But only when he is jumping. At the moment, the object is also affected when the player walks on it. I hope it's understandable.

Someone else said:
Couldn't you do that with actionpoints, so you have 1 on top and 1 on the bottom, and when it comes in contact with action point 2 it destroys..? i dunno really just throwing an idea your way.

But this way I'll have an action point for every object I want to destroy this way. Is there a better way to do this?

Can you guys help me, please?
Posts: 11
Reputation: 216

Post » Mon Jul 14, 2014 1:32 pm

player on collision with enemy
(Sub event)---------player is falling
(Sub event)---------player.Y < enemy.Y ------------ enemy destroy

Else---------player destroy
Posts: 1,013
Reputation: 9,165

Post » Wed Jul 16, 2014 2:35 pm

Thanks @A0Nasser but I don't want to destroy an enemy like in Super Mario.
Please take a look at this screenshot.
It works ....well.. not really :D
When the player walks on the object 'break', it get's almost instantly destroyed.
I hope someone can help me out here. I'm stuck.
Posts: 11
Reputation: 216

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests