flame_forge2d 0.18.2+5 copy "flame_forge2d: ^0.18.2+5" to clipboard
flame_forge2d: ^0.18.2+5 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.

68
likes
150/ 160
pub points
991
downloads

We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Funding URL doesn't exist.

At the time of the analysis https://patreon.com/bluefireoss was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1125 out of 2471 API elements (45.5 %) have documentation comments.

Some symbols that are missing documentation: body_component, body_component.BodyComponent.angle, body_component.BodyComponent.body, body_component.BodyComponent.camera, body_component.BodyComponent.center.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flame_forge2d/flame_forge2d.dart that imports:
  • package:flame_forge2d/forge2d_world.dart that imports:
  • package:flame/components.dart that imports:
  • package:flame/src/text/renderers/text_paint.dart that imports:
  • package:flame/text.dart that imports:
  • package:flame/src/text/renderers/text_renderer.dart that imports:
  • package:flame/extensions.dart that imports:
  • package:flame/src/extensions/rect.dart that imports:
  • package:flame/geometry.dart that imports:
  • package:flame/src/geometry/polygon_ray_intersection.dart that imports:
  • package:flame/collisions.dart that imports:
  • package:flame/src/collisions/hitboxes/shape_hitbox.dart that imports:
  • package:flame/game.dart that imports:
  • package:flame/src/game/mixins/single_game_instance.dart that imports:
  • package:flame/src/game/game.dart that imports:
  • package:flame/src/flame.dart that imports:
  • package:flame/src/device.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flame_forge2d/flame_forge2d.dart that imports:
  • package:flame_forge2d/forge2d_world.dart that imports:
  • package:flame/components.dart that imports:
  • package:flame/src/text/renderers/text_paint.dart that imports:
  • package:flame/text.dart that imports:
  • package:flame/src/text/renderers/text_renderer.dart that imports:
  • package:flame/extensions.dart that imports:
  • package:flame/src/extensions/rect.dart that imports:
  • package:flame/geometry.dart that imports:
  • package:flame/src/geometry/polygon_ray_intersection.dart that imports:
  • package:flame/collisions.dart that imports:
  • package:flame/src/collisions/hitboxes/shape_hitbox.dart that imports:
  • package:flame/game.dart that imports:
  • package:flame/src/game/mixins/single_game_instance.dart that imports:
  • package:flame/src/game/game.dart that imports:
  • package:flame/src/flame.dart that imports:
  • package:flame/src/device.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flame ^1.24.0 1.25.0 1.25.0
flutter flutter 0.0.0 0.0.0
forge2d ^0.13.1 0.13.1 0.14.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
ordered_set - 6.1.1 6.1.1
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.13.1` on forge2d does not support the stable version `0.14.0`.

Try running dart pub upgrade --major-versions forge2d to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.29.0, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
68
likes
150
points
991
downloads

Publisher

verified publisherflame-engine.org

Weekly Downloads

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

Repository (GitHub)
Contributing

Topics

#flame #forge2d #physics

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (license)

Dependencies

flame, flutter, forge2d

More

Packages that depend on flame_forge2d