Replace direct bounds calculation with BoundsProvider interface for better
performance and correctness. This enables filters to work properly and makes it easier to get the correct bounds (SkeletonSprite.bounds).
BREAKING CHANGES:
- Removed getAnimationBounds() method. Replace it with the appropriate BoundsProvider implementation based on your use case, or create your own.
- hitTest() now uses the assigned BoundsProvider instead of direct calculation. For accurate hit testing, use CurrentPoseBoundsProvider and call calculateBounds() each frame or on click.
New features:
- Add BoundsProvider abstract class and AABBRectangleBoundsProvider, CurrentPoseBoundsProvider, SetupPoseBoundsProvider, SkinsAndAnimationBoundsProvider implementations
- SkeletonSprite constructor now accepts a third optional parameter for BoundsProvider. SetupPoseBoundsProvider is used by default.
- Added calculateBounds() to recalculate bounds on demand (useful with CurrentPoseBoundsProvider)
* [haxe] Flixel support
* [haxe][flixel] WIP fix alpha and color tinting not working on meshes.
* [haxe][flixel] Added most of examples - Color/alpha is broken on flixel for meshes.
* [haxe][flixel] Flixel color bug example
* [haxe][flixel] Add same example of starling to Flixel.
* [haxe][flixel] Fix rotation for clipped attachments.
* [haxe][flixel] Minor modifications to avoid warning on flixel 6.0.0.
* [haxe] Updated readme.
* [haxe][flixel] Remove unused assets.
* [haxe] Removed useless flipX/flipY on core Skeleton.hx.