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

Get HTML5 Game Programming with enchant.js now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.