Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the last chapter we took a look at several of the different game engine options available to build HTML5 games. Several of these engines even have Facebook integration already built in! In this final chapter, I take a closer look at one of these engines, work through developing a game with it, and then integrate it into the Facebook platform using the score API. Although all of the engines discussed in the previous chapter make good candidates, I thought it was important to show how using tilesets in games with a good editor can make prototyping and polishing a game a cinch.
After looking at all of the different options available for developing an HTML5 game using an open source project, I wanted to actually walk through implementing a simple game. The question became which one? All of the engines have somewhat similar features, but some are better suited for certain types of games. I wanted to create a game that used tiles and sprites to build up a side-scroller game. This is actually something that ImpactJS does quite well with its level editor, and the closest open source game engine that has a level editor is melonJS.