getImageData() ?

For developers using the Construct 2 Javascript SDK

Post » Mon Jan 13, 2014 12:25 am

I'm curious, why C2 didn't include getImageData () method? it has a lot of benefits like change sprite color, distorsion, pixel manipulation, URL, etc. without need for webGL effects.

Because WebGL is buggy for mobiles.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,371

Post » Mon Jan 13, 2014 1:30 pm

getImageData is incredibly slow. If you use it every tick on a mobile device you could easily end up with <5 FPS.

WebGL works great on the devices we've got. What bugs are you referring to specifically?
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests