Skip to Main Content
HTML5 Game Programming with enchant.js
book

HTML5 Game Programming with enchant.js

by Brandon McInnis, Ryo Shimizu, Hidekazu Furukawa, Ryohei Fushimi, Ryo Tanaka, Kevin Kratzer
May 2013
Beginner to intermediate content levelBeginner to intermediate
220 pages
5h 16m
English
Apress
Content preview from HTML5 Game Programming with enchant.js

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781430247432Purchase book