An open API service indexing awesome lists of open source software.

https://github.com/flame-engine/forge2d

A Dart port of Box2D
https://github.com/flame-engine/forge2d

box2d box2d-physics-engine dart flame forge2d hacktoberfest

Last synced: 9 months ago
JSON representation

A Dart port of Box2D

Awesome Lists containing this project

README

          

#



flame


Forge2D - A Dart port of the Box2D physics engine


Test

The Box2D physics engine is a fairly famous open source physics engine and this is our Dart port of
it.

You can use it independently in Dart or in your [Flame](https://github.com/flame-engine/flame)
project with the help of [flame_forge2d](https://github.com/flame-engine/flame/tree/main/packages/flame_forge2d).

Some documentation of how to use it together with flame can be found
[here](https://docs.flame-engine.org/latest/bridge_packages/flame_forge2d/flame_forge2d).

## Timeline

Box2D was first written in C++ and released by [Erin Catto](https://github.com/erincatto) in 2007,
but it is still maintained.

It was then ported to Java (jbox2d) by [Daniel Murphy](https://github.com/dmurph) around 2015.

Then from that Java port it was ported to Dart by [Dominic Hamon](https://github.com/dominichamon)
and [Kevin Moore](https://github.com/kevmoo).

A few years after that [Lukas Klingsbo](https://github.com/spydon) refactored the code to better follow the
Dart standard, since it still had a lot of reminiscence from C++.
After this refactor, we renamed it to Forge2D, as the upstream wasn't maintained to take in our
PRs.

There has also been countless other contributors which we are very thankful to!

## Credits

* The [Flame engine team](https://github.com/orgs/flame-engine/people) who is continuously working
on maintaining and improving Forge2D.
* Special thanks for [Lukas Klingsbo](https://github.com/spydon), a Flame team member which took
this project under his wing and greatly improved the project!
* The Dart port of [Box2D](https://github.com/google/box2d.dart).