Clicking on overlapping objects

Get help using Construct 2

Post » Tue Apr 05, 2016 5:36 pm

I'm working on a game in which I have objects being generated that are destroyed when clicked on. With the way it works, two instances of this object may overlap. If a click is made in a point where two overlapping objects are, both are destroyed. How do I make it so only the object in front is destroyed?
B
15
S
2
G
3
Posts: 45
Reputation: 2,638

Post » Tue Apr 05, 2016 6:35 pm

Add the condition "pick top/bottom"
B
84
S
22
G
15
Posts: 1,039
Reputation: 15,249

Post » Tue Apr 05, 2016 8:11 pm

That worked. Thanks a bunch!
B
15
S
2
G
3
Posts: 45
Reputation: 2,638


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], wertt22, Yahoo [Bot] and 24 guests