monkeyworld

Created: 2012-03-23 12:28
Updated: 2013-10-15 18:18

README.md

Monkey World

HTML5 canvas game written in JavaScript, using KineticJS.

Documentation

Build

There are two options to build the game for use in a web browser:

  1. Include all source files in the header of a HTML file. This can be done automatically and in the correct order by using a custom built ant task. For this project, run ant or ant uncompiled in the root folder of the project. The result will be in the folder build_uncompiled. This is easiest and recommended for ordinary development.
  2. It is possible, but not needed, to compile the project using Google Closure for Ant. Run ant compile in the root folder of the project. The result will be in the folder build.

Run

After building, the uncompiled version (build alternative 1) can be run by running build_uncompiled/index.html in a HTML5 compatible web browser. The compiled version (build alternative 2) is run by using build/index.html in the same way.

Unit Tests

To run unit tests, build the project using ant make_test. This will create test/index.html, which runs the unit tests. The tests are written in test/monkeyworld-qunit.js.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more