flame_forge2d 0.6.0-rc1 flame_forge2d: ^0.6.0-rc1 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 Flutter:
$ flutter pub add flame_forge2d
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flame_forge2d: ^0.6.0-rc1
Alternatively, your editor might support 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';