Color based colisions

Get help using Construct 2

Post » Tue Aug 13, 2013 1:56 am

Hello world,
in the new game i am trying to make i will need to be able to detect colision happenning by color. Is there any way to do this yet in Construct-2. I have tried thinking of a way to do it with Thin line like objects but the terrain keeps on changing. Is there any way for c2 to check color ?
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Tue Aug 13, 2013 3:17 pm

You can just use variable ints that are linked to each terrain colour state, 1=Red, 2=Blue etc.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Tue Aug 13, 2013 3:45 pm

If the coloured objects are different frames of the same object you could check animationframe.
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 » Tue Aug 13, 2013 5:22 pm

@ash1221

You could use the canvas plugin too.
B
48
S
16
G
9
Posts: 1,097
Reputation: 11,195


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests