O'Reilly logo

HTML5 Games Most Wanted: Build the Best HTML5 Games by Shy Shalom, Jonas Wagner, Brian Danchilla, Rob Hawkes, David Strauß, Russell Goldenberg, Mathias Paumgarten, Egor Kuryanovich, Jonathan Bergknoff, Gaëtan Renaudeau, Seb Lee-Delisle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

images

Chapter 5

3D CSS TutorialHarness the power of 3D CSS transformations to make a lightning-fast iPad game with creative JavaScript

Introduction

HTML5 canvas is, of course, brilliant. But it has to be said, its performance on iPads (and most other devices) leaves much to be desired. The GPU-accelerated canvas in iOS 5 is a definite improvement, but it’s possible to create even smoother animated graphics with CSS manipulated in JavaScript, which runs lightning-fast—even on a first-generation iPad.

Using transformations, you can move HTML elements in 3D space (currently supported by most modern browsers, check caniuse.com for up-to-date browser support ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required