O'Reilly logo

HTML5 Game Programming with enchant.js by Hidekazu Furukawa, Brandon McInnis, Ryo Tanaka, Ryohei Fushimi, Kevin Kratzer, Ryo Shimizu

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

Advanced Features of enchant.js

The basics of enchant.js allow simple game creation. More advanced features, such as navigation between scenes within a single game, require the use of more complex capabilities of enchant.js. In this chapter, we demonstrate how to create scene transitions for including multiple levels or environments, start and game over screens that polish your game’s appearance, and maps and sounds to increase interactivity.

Summary List

  1. Transitioning Between Scenes
  2. Creating Start, Game Over, and Score Sharing Screens
  3. Using Collision Detection
  4. Creating an Interactive Map

Transitioning Between Scenes

While a single ...

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