3 ms·
> To be honest – CSS3 animations have terrible syntax I think that this guy has never heard of the canvas element. Using CSS3 animations for making games is pu
by program 15y ago
> To be honest – CSS3 animations have terrible syntax
I think that this guy has never heard of the canvas element. Using CSS3 animations for making games is pure madness.
- robterrell 15y agoNot madness, but widely accepted reality. We use CSS3 animations to get the benefit of hardware acceleration on devices that support it. Canvas isn't hardware accelerated. Our current game gets over 40 fps on iOS devices with a couple hundred sprites in action. That would not be the case if we were just blitting into a canvas.