sntran/craftybox — pull request #8 by sntran (2012-04-26 03:14:29+00:00)
Title: v0.0.4 - Collision

* Collision detection with `.onHit(component, beginContact, endContact)`.
* Added example with collision.
* Manual collision detection with `.hit(component)`.
* Refactored to use module pattern.
* Changing gravity should wake up all bodies.
* Polygon supported.
* Changed body type setting to `type: "static|dynamic|kinematic"` from `dynamic:true`.
* Only allow manual shifting entity when body is sleeping.