flame_forge2d_tiled 0.2.0 flame_forge2d_tiled: ^0.2.0 copied to clipboard
A package that combines Tiled Map Editor + Flame Game Engine with Physics
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/aeb-dev/flame_forge2d_tiled/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
149 out of 198 API elements (75.3 %) have documentation comments.
Some symbols that are missing documentation: flame_forge2d_tiled
, flame_forge2d_tiled.TileSetExtensions.tileSize
, flame_forge2d_tiled.TiledGame.addGameStateListener
, flame_forge2d_tiled.TiledGame.assertHasLayout
, flame_forge2d_tiled.TiledGame.canvasSize
.
10/10 points: Package has an example
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_tiled/flame_forge2d_tiled.dart
that imports:package:flame_forge2d_tiled/src/tiled_map.dart
that imports:package:flame_forge2d_tiled/src/tiled_game.dart
that imports:package:flame_forge2d_tiled/src/layer_component.dart
that imports:package:flame_forge2d_tiled/src/tile_layer_component.dart
that imports:package:flame_forge2d_tiled/src/draw_context.dart
that imports:package:flame_forge2d_tiled/src/extensions/tmx_object.dart
that imports:package:flame_forge2d_tiled/src/extensions/point.dart
that imports:package:tmx_parser/tmx_parser.dart
that imports:package:tmx_parser/src/tmx_parser.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Undefined class 'Camera'.
lib/src/layer_component.dart:26:3
╷
26 │ Camera get camera => super.gameRef.camera;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/layer_component.dart
ERROR: The return type of getter 'Forge2DGame.world' is 'World (where World is defined in /tmp/analyzerMLJOXB/pub-cache/hosted/20240911t105800-dot-dartlang-pub.appspot.com/forge2d-0.11.0/lib/src/dynamics/world.dart)' which isn't a subtype of the type 'World (where World is defined in /tmp/analyzerMLJOXB/pub-cache/hosted/20240911t105800-dot-dartlang-pub.appspot.com/flame-1.19.0/lib/src/camera/world.dart)' of its setter 'FlameGame.world'.
lib/src/tiled_game.dart:12:7
╷
12 │ class TiledGame extends Forge2DGame {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/tiled_game.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flame |
^1.6.0 |
1.19.0 | 1.19.0 |
flame_forge2d |
^0.12.5 |
0.12.5 | 0.18.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
tmx_parser |
^0.2.1 |
0.2.1 | 0.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.19.0 |
forge2d |
- | 0.11.0 | 0.13.1 |
json_events |
- | 1.2.2 | 1.2.2 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
ordered_set |
- | 6.1.0 | 6.1.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.12.5` on flame_forge2d does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions flame_forge2d
to update the constraint.
The constraint `^0.2.1` on tmx_parser does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions tmx_parser
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.12
, Flutter 3.24.2
, Dart 3.5.2
.
Check the analysis log for details.