Destry two instances of same sprite on collision..

Get help using Construct 2

Post » Sun Jul 26, 2015 9:42 am

Hi

I'd like to drag 3 sprites together, destroy them all, and create a new one..

https://www.dropbox.com/s/ehrk1ezn0z212wz/3collision.capx?dl=0

Only it doesn't quite work.. Only one of the two instances are destroyed.. See example..
B
7
S
1
Posts: 43
Reputation: 1,052

Post » Sun Jul 26, 2015 9:51 am

Because both conditions should be true, you are only picking one instance of the purple one

The purple one that is overlapping another purple one and is overlapping the yellow one..

You can simply change this by using a subevent for the purple is overlapping purple, for than that condition picks both:

https://dl.dropboxusercontent.com/u/485 ... roved.capx
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: irina and 6 guests