O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 (http://www.melonjs.org/). You can download the zip, or clone the github repository (https://github.com/obiot/melonJS). 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required