Is there an event "leaving the collision"?

Get help using Construct 2

Post » Thu Nov 24, 2016 5:06 pm

How do I make an event run after leaving a collision? Is there an event like this?

I fixed it that way, but there must be a better solution with "leave collision" event

Image

capx file for help:
https://drive.google.com/file/d/0B9uHUU ... sp=sharing
B
48
S
9
G
10
Posts: 200
Reputation: 8,267

Post » Thu Nov 24, 2016 5:33 pm

You should be able to use
"Is overlapping" (inverted)
Trigger once while true.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Thu Nov 24, 2016 6:29 pm

it does not work :-(

yo may fix the capx file??????
B
48
S
9
G
10
Posts: 200
Reputation: 8,267

Post » Thu Nov 24, 2016 6:36 pm

https://dl.dropboxusercontent.com/u/495 ... n%202.capx

Like that? Your original capx was already fine although yes you don't need to set an isCollided variable. If you are overlapping the tile then collision is true.
B
47
S
18
G
84
Posts: 2,265
Reputation: 49,784

Post » Thu Nov 24, 2016 6:54 pm

Thank you!
B
48
S
9
G
10
Posts: 200
Reputation: 8,267


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests