How do I this condition?

Get help using Construct 2

Post » Sat Aug 26, 2017 8:47 pm

Hi.
How would you do this?
You must destroy objects with "Default" (green objects) animation that clash with the object with animation "Animation2" (red object).
This means that the red object can not die.
Only the green object can die.
The green object can only die when colliding with the red object.

You can not use two different objects.

I can not do it.

https://www.dropbox.com/s/y45znh5ju280nrg/testCollision.capx?dl=0
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Post » Sat Aug 26, 2017 9:16 pm

The Mnk wrote:You can not use two different objects.


You can put sprite in family an fake second object..
then use something like:
Sprite on collision with Family
if Sprite animation "Red" is playing----Destroy Family
B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041


Return to How do I....?

Who is online

Users browsing this forum: dand, fabianosalles, mickclarke, Yahoo [Bot] and 25 guests