CHAPTER 5

image

Game Design

Up to this point, we’ve focused on the basics of JavaScript and enchant.js, including the specific format you must use to write your code to take advantage of the many features of enchant.js. These basics include sprites, labels, scenes, maps, how to upload and share your games on 9leap.net, and more. However, this alone does not a good game developer make!

If you dive right in and try to build your own game from scratch without any references, using only what we’ve previously covered in this book, you will encounter issues. Many issues. To make the entire process easier for you, we provide some background in this chapter ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.