Chapter  3

It's All About Context: Canvas Basics

The emerging HTML5 specification includes facilities for developers to leverage the power of the browser to start to build applications that feel more like native applications. In the past, where you may have written a game in Flash using Adobe's tools, you now have the ability to do many of the same things inside the browser without needing to download a third-party extension. Because the browser manages the implementation of the specification, developers can also take advantage of the power and memory management the browser provides.

Specifically for this book, we look at the canvas element introduced in the HTML 5 specification and implement games on the Facebook platform. The canvas element ...

Get Beginning Facebook Game Apps Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.