How do I invert overlapping

Get help using Construct 2

Post » Thu Jan 29, 2015 4:32 pm

I have multiple object that is overlapping with the background, I want to check if an overlapping position is clicked. I could do it with array which is not ideal, does anyone know any plugin that check for invert overlapping?
Posts: 13
Reputation: 224

Post » Thu Jan 29, 2015 4:47 pm

Can't you just check a variable that toggles depending on if something is overlapping or not?
Posts: 1,077
Reputation: 36,031

Post » Thu Jan 29, 2015 5:04 pm

What exactly are you trying to accomplish? Do you want to trigger an event when a player clicks an object that is overlapping the background? Do want to trigger the event only when the player clicks where the 2 objects are overlapping (in other words inside the area of overlap)? Do you want to trigger the event when a player clicks where no objects are overlapping? What do you mean by "check for invert overlapping?"

I tried to decipher what it is you need help with, but could not completely understand. That being said, I am attaching a .capx file that has an example of how to check if an object is clicked, if the clicked object overlaps another object at the click location or if no objects were clicked.

I hope it helps and good luck with your project.
You do not have the required permissions to view the files attached to this post.
Posts: 331
Reputation: 7,752

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests