flutter_hitbox 0.0.1 copy "flutter_hitbox: ^0.0.1" to clipboard
flutter_hitbox: ^0.0.1 copied to clipboard

A powerful Flutter package for generating hitboxes from any shape (circles, rectangles, polygons, custom paths) and detecting collisions between them.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

0.0.1 - 2024-12-19 #

Added #

  • Initial release of flutter_hitbox package
  • Support for generating hitboxes from various shapes:
    • Circles
    • Rectangles and squares
    • Polygons (convex and concave)
    • Custom paths (including complex shapes like arrows)
  • Collision detection between hitboxes:
    • Circle vs Circle
    • Circle vs Rectangle
    • Circle vs Polygon
    • Rectangle vs Rectangle
    • Rectangle vs Polygon
    • Polygon vs Polygon
  • Comprehensive test suite with >90% coverage
  • Full documentation with examples
  • Support for all Flutter platforms (iOS, Android, Web, Windows, macOS, Linux)
  • WASM compatible
1
likes
160
points
110
downloads

Publisher

verified publisherbechattaoui.dev

Weekly Downloads

A powerful Flutter package for generating hitboxes from any shape (circles, rectangles, polygons, custom paths) and detecting collisions between them.

Repository (GitHub)
View/report issues

Topics

#collision-detection #hitbox #game-development #physics #shapes

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, vector_math

More

Packages that depend on flutter_hitbox