Learn HTML5 by Creating Fun Games
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
An Overview of HTML5
What is HTML?
What is HTML5?
HTML5 is not a single feature
More semantic document structure
A warning about performance
Native features of the browser
CSS3
JavaScript APIs
The Web as a platform
The Open Web
HTML5 – a game changer
Learning HTML5 through game development
Summary
HTML5 Typography
The game
Game elements
API usage
The code
Understanding the Gravity of HTML5
Browser compatibility
Web audio
SVG
Drag-and-drop
Using HTML5 to Catch a Snake
Typed arrays
Canvas
Web workers
Offline application cache
Improving the Snake Game
IndexedDB
Adding Features to Your Game
Advanced HTML5 APIs
WebGL
Web sockets
Video
Geolocation
Upcoming CSS features
HTML5 and Mobile Game Development
Desktop versus mobile
Understanding media queries
Understanding touch events
Index