flame_forge2d 0.18.2+6 copy "flame_forge2d: ^0.18.2+6" to clipboard
flame_forge2d: ^0.18.2+6 copied to clipboard

Forge2D (Box2D) support for the Flame game engine. This uses the forge2d package and provides wrappers and components to be used inside Flame.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flame_forge2d
copied to clipboard

With Flutter:

 $ flutter pub add flame_forge2d
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flame_forge2d: ^0.18.2+6
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:flame_forge2d/flame_forge2d.dart';
copied to clipboard
71
likes
0
points
2.66k
downloads

Publisher

verified publisherflame-engine.org

Weekly Downloads

2024.09.25 - 2025.04.09

Forge2D (Box2D) support for the Flame game engine. This uses the forge2d package and provides wrappers and components to be used inside Flame.

Homepage
Repository (GitHub)
View/report issues

Topics

#flame #forge2d #physics

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

unknown (license)

Dependencies

flame, flutter, forge2d

More

Packages that depend on flame_forge2d