overlapping detection problem (capx included)

Get help using Construct 2

Post » Tue Oct 08, 2013 8:15 pm

Hi everyone!
I have a problem with overlapping detection.

My goal is automatically create appropriate snow sprites on existing ground tiles.

On top of every "groundtile" instance I create an invisible "collisionchecker" instance

When I try to check if my groundtile overlaps collisionchecker both on +x and -x offsets, the condition is never true, even if my groundtile is between two instances of collisionchecker


My english is not that good so I can't really describe the problem but here is the link to the capx. It should be pretty clear. I added some comments.

https://dl.dropboxusercontent.com/u/18217655/hi.capx

Thank you
B
4
Posts: 6
Reputation: 437

Post » Wed Oct 09, 2013 2:40 am

up
B
4
Posts: 6
Reputation: 437

Post » Wed Oct 09, 2013 3:34 am

You have to repick all the collision checker to check with the groundtile because your 1st condition already pick the collision checker at the middle.

https://www.dropbox.com/s/hxedsh61u5tbtq7/bye.capx
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Wed Oct 09, 2013 5:24 pm

Thank you!
B
4
Posts: 6
Reputation: 437


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, humanescape, jezjones24 and 28 guests