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 3

image

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 code.9leap.net extensively for the exercises. ...

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