Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
Version 14 (modified by Extrawurst, 13 years ago)
--

Welcome to chipmunkD

ChipmunkD is a direct port of the 2D physics engine chipmunk from plain C to the D programming language. I tried to change as little as possible while porting to be able to benchmark C vs. D directly and to make patching the port as easy as possible when a new release of the original library is published.

I however plan on creating and maintaining a branch of the lib where i gonna convert some parts of the library to a more D'ish flavour. That way the spoilt D coder does not have to live without operators and a single class that holds the state of the engine rather than some random global variables.

Facts

  • direct port of Chipmunk 2D physics engine
  • pure D2 code, no bindings, no external library
  • last tested to compile with D 2.050
  • current base version: chipmunk 5.3.2

Status

Right now i am about to finish the base port of chipmunk 5.3.2 to D. I do not consider it production ready yet, though i managed to get most of the demos running already.

TODO:

  • port rest of the constraints (cpDampedRotarySpring,cpGearJoint,cpGrooveJoint,cpRatchetJoint,cpRotaryLimitJoint,cpSimpleMotor,cpSlideJoint)
  • most of the convenience getter methods (properties) are not yet defined in D

Resources

  • Demo (win32 binary)
  • Error: Failed to load processor Screenshots
    No macro or processor named 'Screenshots' found