jump on and destroy a solid object.

Get help using Construct 2

Post » Sat May 10, 2014 11:20 pm

Just like a Sonic game I want sonic to jump on a ring box and destroy it at the same time. But I'm having trouble with that because the box is a solid object.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Sun May 11, 2014 12:13 am

If I understand you correctly,

Create a small delay in the event portion of the same condition. Try different amounts time plus or minus till you get the desired effect

On Land (Condition)> System>wait 0.5 seconds
----------------------------------------->Ring Box Destroy


Remember the code always runs from top down. Events triggered within the same condition tend to run at the same time but using "wait" forces it to wait before triggering the next event in a given condition.

I'm assuming the player needs to jump off again before it's destroyed. If I misunderstand you or alternatively, you can create an invisible object underneath the "ring box" object that has the actual solid behavior or some combination of this and the above example.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283


Return to How do I....?

Who is online

Users browsing this forum: jezjones24, Lancifer, Magistross and 23 guests