How to destroy the object once it collides?

Get help using Construct 2

Post » Tue Jul 16, 2013 7:30 pm

This blue box doesn't get destroyed when it hits the green box. How can I fix this issue.

Here is the file.

http://www.2shared.com/file/bJEmLtH4/Space_Munch.html

Also I don't want the blue box to follow the green one. Instead When the green object comes close, the blue box gets closer to the green one depending on the distance. If it gets closer to the green, it goes to the green faster and then it gets destroyed.

If you can tell me how to do it, It would be really helpful.
B
4
Posts: 11
Reputation: 247

Post » Tue Jul 16, 2013 7:49 pm

Hello Artwark,

I've made few things in the capx file :
*Cropped the both boxes (Needed for destroying on collision)
*Made two events :
1.Planet - On collision with Void - Planet - Destroy
2.System - Every 2 seconds - System - Create object Planet on Layer 2 at (random(1200),0)

Here's the capx : https://docs.google.com/file/d/0B7dGx5z_WPNccHdwd1RBN18zV0U/edit?usp=sharing

Wish i helped,

Regards,
~Hadzy
B
27
S
10
G
2
Posts: 237
Reputation: 3,330

Post » Wed Jul 17, 2013 3:45 am

Okay now here's one thing that I want. When I press a button, I want the objects to be pulled by the void faster. But when I press another button, I want the objects to be pushed by the void. How can I do this?

Oh and thanks for the help.
Artwark2013-07-17 03:46:24
B
4
Posts: 11
Reputation: 247


Return to How do I....?

Who is online

Users browsing this forum: jojomickymack and 34 guests