How do I Make two of the same object spawn one object

Get help using Construct 2

Post » Sat Aug 29, 2015 9:54 pm

I want them to collide and both get destroyed but only spawn one death animation for both. Please help.
B
4
S
1
Posts: 3
Reputation: 306

Post » Sat Aug 29, 2015 10:01 pm

Ok do you mean,

So both get destroyed but only one death animation right?
B
23
S
8
Posts: 115
Reputation: 2,640

Post » Sat Aug 29, 2015 10:10 pm

I Got the answer

Sprite needs a Value added to it.
Name it like ID then add 1 to it.
Copy paste yada yada.
Go to the other sprite change it's ID to 0

Sprite on hit Sprite - Sprite destroy
compare sprite value = 1 sprite spawn Death animation. TA DA
B
23
S
8
Posts: 115
Reputation: 2,640

Post » Sat Sep 05, 2015 6:08 am

Ok what if 1 and 1 collide right now i have something like this but if 1 and 1 collide they just pass by the only thing i could think of as will.
B
4
S
1
Posts: 3
Reputation: 306


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ, UberLou and 2 guests