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
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

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,155

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
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Sun Jul 22, 2012 6:16 pm

wow @chrisbrobs you have always something special !
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988


Return to How do I....?

Who is online

Users browsing this forum: Callan S, gamecorpstudio, getplay, Kagubro and 15 guests