How do I - Pick overlapping point

Get help using Construct 2

Post » Mon Jul 07, 2014 6:03 pm

Hi,
Please see the attached CAPX, I am trying to pick all the instance of an Object overlapping another Object. "Pick overlapping point" should ideally do it but it does, maybe its a bug. Please help..

-Thanks
You do not have the required permissions to view the files attached to this post.
B
13
S
3
Posts: 76
Reputation: 1,684

Post » Tue Jul 08, 2014 11:28 am

Please explain a couple of things.. why are there no actions, and why do you have two identical events? (5 and 6). Also the 'every tick' has no effect there (I changed it to every 0.2 seconds to reduce the amount logging).

How do you know this is not working? I added a log message to event 6 which shows that 2 sprites are selected correctly when they both overlap that point. Finally, why are you using "is overlapping object" in event 2 and "is overlapping x, y" in event 6? Just for testing I presume.
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Jul 08, 2014 4:33 pm

@codah Thanks for looking into it, Keepee from IRC helped me resolve the issue. Basically I need to add 'Pick All' along with 'Pick overlapping point' to get it to work,

-Thanks
B
13
S
3
Posts: 76
Reputation: 1,684

Post » Tue Jul 08, 2014 11:20 pm

I don't see how that was the solution tbh. At least in the sample you posted.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: draiza and 20 guests