/easelBox

A Javascript wrapper for integrating EaselJS rendering and the Box2dWeb physics engine

Primary LanguageJavaScript

EaselBox

EaselBox is a Javascript wrapper for the EaselJS canvas rendering library and the Box2dWeb physics engine. It makes it easy to create objects that have Box2d’s physics, as well as Easel’s powerful rendering capabilities.

EaselBox adds convenience methods to create those objects, as well as giving you direct access to the underlying EaselJS and Box2dWeb entities if you’d like to manipulate them directly.

Examples

jeff-cole-projects.herokuapp.com/easel_box2d

To run examples locally

cd server
npm install
node server/app.js  
open browser to http://localhost:3000

Usage

In addition to your own JS files, you need to require the following:

easel.js
Box2dWeb-2.1.a.3.min.js (or later)
easelBox.js

To re-build source

cake watch

Docs

EaselJS API easeljs.com/docs/

Box2dWeb code.google.com/p/box2dweb/

Box2d API www.box2dflash.org/docs/2.1a/reference/