Any plugin or way to identify colours?

Get help using Construct 2

Post » Mon Aug 24, 2015 6:58 pm

I need a way to basically tell the game that a certain green is land, and should be treated as a solid, and a certain blue is water, and shouldn't be able to go in to unless you have a certain item etc etc. Basically I need a way to identify colours and use that to effect the game.
B
5
S
1
Posts: 54
Reputation: 508

Post » Mon Aug 24, 2015 7:16 pm

@r0j0hound anyway to use canvas for this?
B
5
S
1
Posts: 54
Reputation: 508

Post » Mon Aug 24, 2015 7:55 pm

Yes, the canvas plugin has an rgbaAt function that can be used to find the color at any point on the canvas object.
B
98
S
35
G
20
Posts: 438
Reputation: 17,875


Return to How do I....?

Who is online

Users browsing this forum: kainrazial and 21 guests