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 ...

Get Beginning HTML5 Games with CreateJS 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.