box2d 0.3.0

###A Dart 2D physics engine

Build Status Coverage Status

This is a Dart port of Java's Box2D libraries.

The Java Box2D library was originally written by Daniel Murphy (status February 2015).

benchmark/bench2d.dart   Benchmark used by Joel Webber
example/index.html       Browser demos as written by Dominic Hamon
lib/                     Port of Daniel Murphy's jbox2d

First Dart port of an earlier version of Box2D library was done by Dominic Hamon. We are grateful for his work.

Not an official Google project

###0.3.0

  • Updated to vector_math 2.0.0

###0.2.0

  • Complete re-write. Many APIs have changed.

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  box2d: "^0.3.0"

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support 'pub get'. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:box2d/box2d.dart';

About

A Dart 2D physics engine

Author

Email kevmoo@google.com Kevin Moore
Email srdjan@google.com Srdjan Mitrovic

Homepage

github.com/google/box2d.dart

Documentation

www.dartdocs.org/documentation/box2d/0.3.0/

Source code (hyperlinked)

www.crossdart.info/p/box2d/0.3.0/

Uploader

dartbox2d@gmail.com
kevmoo@google.com
johnmccutchan@google.com

Published

May 9, 2016

Share