O'Reilly logo

Beginning HTML5 Games with CreateJS by Brad Manderscheid

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 2

image

Making and Animating Graphics

As you start building your games, you’ll be loading in several graphical assets prepared externally in other graphics and drawing applications. However, EaselJS comes bundled with a Graphics class that is built up of a drawing API that you can use to create on-the-fly graphics.

In this chapter, we’ll be taking a close look at how you can accomplish these graphics and the kinds of things you can do with them when building your games. But before you start drawing, you need to get a bit more acquainted with what you are drawing them to. In the previous chapter, you saw the use of a stage object in many situations, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required