melonJS Framework

You now have a level that could be used in a variety of game engines, but we use the melonJS framework for this HTML5 game. The framework code comes in a raw format that you will need to compile to have a minified version for use in your game. Download the latest version of the code from the melonJS website ( You can download the zip, or clone the github repository ( I chose to download the zip file, which is just a tagged version of the source code.

Now we need to compile the source. There is a script that compiles the source, but you need to create a build directory first (or edit the Makefile if you are comfortable), then run the make command in the melonJS source ...

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.