HTML and CSS Reference
Using an HTML5 Game Engine
What's in this chapter?
• Reviewing the history of HTML5 game engines
• Learning about commercial HTML5 engines
• Understanding open-source HTML5 engines
Wrox.com Code Downloads for this Chapter
title.cgi?isbn=9781118301326 on the Download Code tab. The code is in the Chapter 26 download and indi-
vidually named according to the names throughout the chapter.
The ease to start with HTML5 game development combined with the growing popularity of HTML5 as a me-
dium to build games quickly has led to a proliferation of game engines, both open-source and commercial. This
chapter examines some of the most popular engines available.
Looking at the History of HTML5 Engines
Although the canvas element has been around in some form since it was introduced by Apple to power OS
X Dashboard components in 2004, it has been only in the past few years that people began to take HTML5
seriously as a platform for game development. There are a myriad of reasons for this, but the performance lim-
serious game development by most sane individuals.
That began to change in 2008. In response to the processing requirements of the increasingly massive
real language that could be used for larger-scale application development.
Developers have an uncontrollable impulse to program games in whatever medium they work in, and