Collision with 4 objects at the once

Get help using Construct 2

Post » Sun Jan 26, 2014 11:02 am

Hello,
how can I make collision with 4 objects at the once?
My solution is create variable and when I collision with 1 of the objects then I set value +1. When value is equal to 4 I do action but it is not good solution. I can't touch all 4 objects but if variable set to 4 then it makes action(s)...

I want make action only if I collision with all 4 objects at the once.
Thank you
B
3
Posts: 1
Reputation: 177

Post » Sun Jan 26, 2014 11:54 am

Why not add a booleoan instance variable collision and set it to true on collision.

Create an event that checks if all 4 objects boolean variable collision is true, if so perform action.
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

Post » Sun Jan 26, 2014 11:57 am

August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Felipiwi, Yahoo [Bot] and 22 guests