This chapter took a lot of the different concepts that were covered in previous chapters and used them with a great open source game engine, melonJS. This engine does a fantastic job in managing different elements of your game, from sound, to images, and state. Not only does it manage these assets and the game state, but it also integrates nicely with the Tiled Map Editor, allowing you to reuse your maps on other platforms that use the TMX format (such as cocos2d). Integrating the game with the Facebook graph is quite straightforward, and takes care of some of the gameplay concerns for you, including achievements, scores, and authentication.

These are some of the basics of using a game engine to create a game using different components. ...

Get Beginning Facebook Game Apps Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.