Summary

The HTML5 canvas element provides web browsers with a powerful tool for drawing and manipulating pixels on the screen. By manipulating subpaths on the canvas, you can draw simple and complex shapes and manipulate their appearance. You can move objects about the canvas with simple (and not so simple) algorithms that simulate (or defy) the laws of physics as well as hook up movements of objects in the canvas to execute keyboard commands. By leveraging the power of the HTML5 canvas element, you can also open your application up to mobile devices without a wholesale rewrite of your codebase.

In the next chapter I get into the design process for a project. Effective planning can make all the difference in the success of a project, and having ...

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.