Hacker News new | ask | show | jobs
by Scaevolus 3396 days ago
That's only if you switch colors frequently. Canvas can be quite efficient.

It's irrelevant here-- the game is using Phaser, which can render as either Canvas or WebGL (WebGL in my case), but it's spending most of it's time in engine code updating expensive transforms every frame.

1 comments

Ah, I see. I did check the source to see if it was using canvas 2D, but I failed to check if it wasn't using WebGL.