dbox is a D port of the Box2D game physics library


Keywords
library.graphics, library.scientific.newton
License
Zlib
Install
dub fetch dbox --version 0.0.7-alpha

Documentation

dbox

dbox

This is a D port of the Box2D game physics library.

Currently dbox targets Box2D version 2.3.1.

Box2D was created by Erin Catto.

Homepage: https://github.com/d-gamedev-team/dbox

Supported compiler versions

Compilers based on the v2.066 front-end can be used to build and run dbox.

Examples

Use dub to build and run the examples:

# A console example of the physics engine being run.
$ dub run dbox:hello_world

# An interactive GUI test-suite containing dozens of examples.
$ dub run dbox:demo

Runtime Requirements

Windows and Linux

You will need to install the glfw shared library in order to run the demo.

OSX

You can try installing the glfw v3 library via the brew package manager:

brew tap homebrew/versions
brew install glfw3

Documentation

Documentation is coming soon.

Building dbox as a static library

Run dub alone in the root project directory to build dbox as a static library:

$ dub

Links

License

Distributed under the zlib license.

See the accompanying file license.txt.