Destroy all overlapping objects but one

Get help using Construct 2

Post » Sat Jul 20, 2013 11:27 pm

@Whiteclaws

sorry, should have tested what I wrote before sending it.

"doesn't involve variable usage"

not even a non-static local variable?

you could store the UID of one of the objects overlapping and then invert a 'pick by UID' condition. Inverted pick by UID works, i've used it a few times.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Sun Jul 21, 2013 5:07 am

use a loop and pick by ID as keepee says
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sun Jul 21, 2013 5:00 pm

Why not do this ?

For each element
- If overlapping a block
-- Destroy
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Mon Jul 22, 2013 3:35 am

@Whiteclaws

no that's...

oh wait

yeah

that...

yes

Yes.

Correct.

You have won.

Congratulations.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Mon Jul 22, 2013 3:36 am

Whiteclaws

Making worthless posts since 2013
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests