Canvas question.

Get help using Construct 2

Post » Sun Jul 22, 2012 8:56 am

Is it possible to query a HTML Canvas object to get the color at a specific location?
B
103
S
25
G
41
Posts: 1,877
Reputation: 32,397

Post » Sun Jul 22, 2012 9:10 am

Yes, using ImageDataMipey2012-07-22 09:11:10
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,170

Post » Sun Jul 22, 2012 12:22 pm

[QUOTE=delgado] Is it possible to query a HTML Canvas object to get the color at a specific location?[/QUOTE]

You could do the following...using the Canvas plugin-



Capx
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun Jul 22, 2012 6:16 pm

wow @chrisbrobs you have always something special !
B
103
S
25
G
41
Posts: 1,877
Reputation: 32,397


Return to How do I....?