Basic Features of enchant.js

Now that you are familiar with the basics of JavaScript, you should have a much better understanding of how the elements of enchant.js interact and why the elements are written in specific ways. In this chapter, we start with the basic concepts of enchant.js you need to know to start creating games, and then we explore projects that integrate those concepts. We cover inheritance and the display object tree, which are two elements that exist for every enchant.js game, and then we cover labels, sprites, surfaces, touch events, and screen-based interface elements. We use extensively for the exercises. ...

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.