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 4

image

Game Project: Progressive Break-it

For your first game project, you’ll be building a version of the Atari classic, Breakout. You’ll be building your game in the progressive mode, which will continuously add rows of bricks as the game progresses. A few new twists will be added to the classic to make it a bit more fun, and to fully utilize your new skills.

The graphics for the game will be fully built using EaselJS’s drawing API and Text objects. A game loop will be created, which will be used to animate the puck around the stage, and the TweenJS library will be utilized to animate some of the bonus text during gameplay. All controls ...

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