flutter_hitbox 0.0.1
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