Skip to content

Moerphy/Chipmunk.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Chipmunk.js

Chipmunk.js is a port of the Chipmunk library to Javascript. Chipmunk is a rigid body physics library in C designed for 2D games.
It’s not a 1:1 port of the API, more of an OOP-Port. For instance cpSpaceAddShape(space, foo) in Chipmunk is space.addShape(foo) in Chipmunk.js.

Status

Currently most of the API is ported.

Since most of the code is similiar to the original C version there still is a lot of potential (and probably need) for optimizing it for Javascript.

It’s not recommend to use Chipmunk.js yet, since it’s largely untested and unstable (for instance putting components to sleep tends to run into an infinite loop) and still in a very early alpha stage!

Requirements

Until now it only requires a AMD compatible scriptloader like requireJS or curl.js.

License

Chipmunk.js is licensed under the terms of the MIT license: http://murphy.mit-license.org/

About

Javascript port of the Chipmunk 2D physics engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published