Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Box2D physics resolver backend for gladius

branch: develop

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 node_modules
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 tools
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .jshintignore
Octocat-spinner-32 .jshintrc
Octocat-spinner-32 Jakefile
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

Development repository for Box2D physics backend for Gladius. If you're looking to get started with using Gladius, please checkout the main repository here.

Getting Started

Before you can build and test, you'll need to set up your development environment:

  1. Make sure you have a recent version of node installed (>=0.6). See here for details on how to do this for your platform.
  2. Install jake globally.

        npm install -g jake
    
  3. Clone the repository.

        git clone git://github.com/gladiusjs/gladius-box2d.git
    
  4. Run jake in the project directory. You should see the following output:

        jake lint       # lint code  
        jake build      # compile code  
        jake clean      # remove compiled code
        jake serve      # start web server in project directory
    

Running the tests

You will need a web server that can serve files from the project directory. Follow these instructions if you would like to use the server that comes with Gladius.

  1. Run the web server.

        jake serve
    
  2. Go to the following URL in your browser to view the tests. Be sure to use a recent version of Firefox or Chrome.

        http://localhost:8080/tests
    

You can also run lint tests using jake lint.

Building the module

You can build both the minified and unminified versions of the modules by running jake build. Build output is stored in the dist directory.

License and Notes

See LICENSE for more information.

All our logos are handmade by Sean Martell.

Something went wrong with that request. Please try again.