flame_spatial_grid 0.9.1 copy "flame_spatial_grid: ^0.9.1" to clipboard
flame_spatial_grid: ^0.9.1 copied to clipboard

Spatial partitioning of game field to improve performance of collision detection and rendering

2
likes
80/ 140
pub points
43%
popularity

We analyzed this package 44 hours ago, and awarded it 80 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

1004 out of 1606 API elements (62.5 %) have documentation comments.

Some symbols that are missing documentation: flame_spatial_grid, flame_spatial_grid.AnimationGlobal, flame_spatial_grid.AnimationGlobal.AnimationGlobal, flame_spatial_grid.AnimationGlobal.animationType, flame_spatial_grid.AnimationGlobal.tickersProvider.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

ERROR: 'SpatialGridCollisionDetection.raycast' ('RaycastResult

lib/src/collisions/collision_detection.dart:282:31

    ╷
282 │   RaycastResult<ShapeHitbox>? raycast(
    │                               ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collisions/collision_detection.dart

WARNING: The value of the field '_index' isn't used.

lib/src/components/macro_object.dart:15:7

   ╷
15 │   int _index = 0;
   │       ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/macro_object.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.18.0 1.18.0
dart_bloom_filter ^1.0.0 1.0.0 1.0.0
flame ^1.14.0 1.16.0 1.16.0
flame_tiled ^1.18.0 1.19.0 1.19.0
flat_buffers ^23.5.26 23.5.26 23.5.26
flutter flutter 0.0.0 0.0.0
isolate_manager ^4.1.3 4.1.5+1 4.1.5+1
js ^0.6.7 0.6.7 0.7.1
meta ^1.8.0 1.11.0 1.12.0
tiled ^0.10.2 0.10.2 0.10.2
vector_math ^2.1.4 2.1.4 2.1.4
xml ^6.5.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.4.10 3.4.10
async - 2.11.0 2.11.0
bit_array - 2.2.0 2.2.0
characters - 1.3.0 1.3.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
isolate_contactor - 4.0.0 4.0.0
json_annotation - 4.8.1 4.8.1
material_color_utilities - 0.8.0 0.8.0
murmurhash - 1.0.1 1.0.1
ordered_set - 5.0.2 5.0.2
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
pointycastle - 3.7.4 3.7.4
sky_engine - 0.0.99 0.0.99
stream_channel - 2.1.2 2.1.2
typed_data - 1.3.2 1.3.2

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

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

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

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

Analyzed with Pana 0.22.1, Flutter 3.20.0-1.1.pre, Dart 3.4.0-99.0.dev.

Check the analysis log for details.

2
likes
80
pub points
43%
popularity

Publisher

verified publisherasgalex.pro

Spatial partitioning of game field to improve performance of collision detection and rendering

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, dart_bloom_filter, flame, flame_tiled, flat_buffers, flutter, isolate_manager, js, meta, tiled, vector_math, xml

More

Packages that depend on flame_spatial_grid