Summary

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 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.