Is there any event that trigger on on drop of dragged object

Discussion and feedback on Construct 2

Post » Sat Mar 14, 2015 1:06 pm

Hi,

I see there is one event "on drop" But I want something, when a object is dragged and dropped inside another sprite, the event should trigger. But not just overlapping, but the object should go almost inside the dropped object. Please see attached image,

drag.png


Can anyone give me quick capx file if you have one in hand already?

Thank you,
You do not have the required permissions to view the files attached to this post.
B
9
S
2
Posts: 59
Reputation: 763

Post » Sat Mar 14, 2015 1:24 pm

Change the collision polygon so that the square must be inside for it to trigger an overlap.
B
68
S
17
G
65
Posts: 2,182
Reputation: 41,304

Post » Sat Mar 14, 2015 1:26 pm

ImageImageImageImage
B
155
S
61
G
41
Posts: 2,577
Reputation: 34,314

Post » Sat Mar 14, 2015 2:39 pm

Thanks all. It is a wonderful community.
B
9
S
2
Posts: 59
Reputation: 763


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests