Source
Grab the source via:
hg clone http://hg.dsource.org/projects/chipmunkd
Usage
The usage of chipmunkd is almost exactly the same like it is in C. So if you ever used the original using chipmunkd comes totally natural.
Here is what i consider a Hello World Application for chipmunkd:
import chipmunkd.chipmunk; import std.stdio; void main() { // init cpInitChipmunk(); cpSpace* space = cpSpaceNew(); space.gravity = cpv(0, -1); // simulate a step cpSpaceStep(space, 1.0f/60.0f); // cheer writefln("Hello chipmunkd"); // cleanup cpSpaceFree(space); }
Find a more documented example here.
Find the ported graphical chipmunk demos here.
For in depth documentation see the original docs: Chipmunk Docs