forge2d 0.5.0
forge2d: ^0.5.0

Dart native js
Flutter Android iOS web

A Dart 2D physics engine, port from the Java version, works for Web/Flutter

Forge2D

Forge2D - A Dart port of the Box2D physics engine #

Pub Test Discord

This is Box2D for Dart (and Flame). Box2D physics engine is a famous physics engine and this is our port of it. You can use it independently in Dart or in your Flame project with the help of flame_forge2d. Some documentation of how to use it together with flame can be found here.

Timeline #

Box2D was first written in C++ and released by Erin Catto in 2007, but it is still maintained. It was then ported to Java (jbox2d) by Daniel Murphy around 2015. Then from that Java port it was ported to Dart by Dominic Hamon and Kevin Moore. A few years after that Lukas Klingsbo refactored the code to follow the dart standard more, since it still had a lot of reminiscence from C++. After this refactor we renamed it to Forge2D since the upstream wasn't maintained to take in our PRs. There has also been countless other contributors which we are very thankful to!

9
likes
110
pub points
45%
popularity

Publisher

flame-engine.org

A Dart 2D physics engine, port from the Java version, works for Web/Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

vector_math

More

Packages that depend on forge2d