How do I see if an object is colliding with ANY other object

Get help using Construct 2

Post » Sat Apr 18, 2015 7:34 am

I was wondering if there was a condition check to see if an obect is colliding with anything, not just one specific object. I could do a million OR statements for every object in my game, but that would be very time consuming.

Thanks.
B
5
Posts: 1
Reputation: 227

Post » Sat Apr 18, 2015 8:00 am

On the Projects tab look for "Family", add all the objects to that family. And then on your conditions in the eventsheet, you can select the whole group in one event
B
32
S
7
G
2
Posts: 317
Reputation: 2,851

Post » Sat Apr 18, 2015 11:22 am

Another way, if your program allows for it, would be pinning a collision-detection-sprite to each and every object and checking for collision with that sprite.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests