September 2012
Intermediate to advanced
552 pages
14h 48m
English
This chapter examines the Canvas API in depth. Although you’ve seen in the past two chapters that you can build HTML5 games using technologies besides Canvas, from a game perspective Canvas still remains the most flexible technology to build a game with. Previous chapters have shown how you can use Canvas to make games using bitmapped spritesheets. Canvas, however, offers more than just a way to draw some images. It has a full repertoire of vector drawing methods for drawing shapes and curves along with support for text, transforms, and a variety of composition modes.
Read now
Unlock full access