How do I make character destroy if character leave sprite

Get help using Construct 2

Post » Fri Nov 13, 2015 10:38 pm

Hello guys,

I wondering how do I make character destroy if the character leave sprite (example = road).

The character need to stay on the sprite(road) to stay alive.

I dont want to make outside the sprite(road) some other sprite to collisions with character and destroy.

Ty.
B
7
S
1
Posts: 16
Reputation: 455

Post » Fri Nov 13, 2015 11:43 pm

You can invert a condition with i key so you can make character not overlapping with road condition.

Example capx in case you need one for some reason.
https://dl.dropboxusercontent.com/u/6026058/destroy_when_not_on_sprite2.capx
B
17
S
6
G
1
Posts: 41
Reputation: 1,725

Post » Sat Nov 14, 2015 7:03 am

Thank you Maukka
B
7
S
1
Posts: 16
Reputation: 455


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests