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 2

image

JavaScript Basics

As we said in Chapter 1, enchant.js is written in the JavaScript programming language. When you program games in enchant.js, you’ll write commands and other code in the JavaScript language, so we need to examine simple JavaScript before diving headfirst into enchant.js games. If you are already familiar with JavaScript, feel free to skip this chapter.

JavaScript is the primary programming language used for scripting on web pages. Unlike most programming languages used to create software applications that must be installed on computers to function, JavaScript code runs on the client web browser. Given that enchant.js ...

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