September 2012
Intermediate to advanced
552 pages
14h 48m
English
One of the much-heralded features of the new HTML5 Canvas tag is the capability to access pixel data directly. So far you haven’t played around with pixels, but in this chapter you see what it takes to inspect and manipulate pixels directly. As a practical application to use pixel data, you build a Lander-style game that involves flying a ship around a map using small bursts of thruster (see Figure 17-1). But first, this chapter takes a brief diversion into 2-D physics to get the basis to build Lander.
Figure 17-1: The final Lander game.
Read now
Unlock full access