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
99
S
35
G
29
Posts: 3,139
Reputation: 28,426

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
414
S
245
G
92
Posts: 25,207
Reputation: 200,355


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests