114 Commits

Author SHA1 Message Date
Davide Tantillo
54068d9d12 [haxe] Port of 139fd84 and 20d5ee6: Add support to skeletons exported with per-skin atlases. 2025-10-15 09:21:11 +02:00
Davide Tantillo
0e42469d36 [haxe][flixel] Add bounds property and removed boundsX and boundsY. 2025-10-09 10:06:02 +02:00
Davide Tantillo
d29eb5fa99 [haxe][starling] SkeletonSprite scale is connected to skeleton scale. 2025-10-08 17:49:59 +02:00
Davide Tantillo
5990697d6e [haxe][flixel] SkeletonSprite extends FlxTypedGroup<FlxObject> rather than FlxObject.
Replace direct bounds calculation with BoundsProvider interface for better
performance and correctness. This makes it easier to get the correct bounds.

BREAKING CHANGES:
- SkeletonSprite extends FlxTypedGroup<FlxObject> rather than FlxObject. This was necessary because the FlxObject bounding/hitbox is always connected to its position and size and cannot be offset.
- Removed getAnimationBounds() method. Replace it with the appropriate BoundsProvider implementation based on your use case, or create your own.
- Removed setBoundingBox(). Use BoundsProvider features.
- 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:
- Uses BoundsProvider as starling.
- SkeletonSprite constructor now accepts a third optional parameter for BoundsProvider. SetupPoseBoundsProvider is used by default.
- Added calculateBounds() to recalculate bounds on demand.
2025-10-08 17:49:59 +02:00
Davide Tantillo
196df9c386 [haxe][starling] Replace bounds calculation with BoundsProvider system. Close #2915.
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)
2025-10-08 17:49:59 +02:00
Davide Tantillo
842c96a511 [haxe] Port of commit 64ed135: Fixed having a physics reset all timeline in a slider animation. 2025-10-01 10:41:26 +02:00
Davide Tantillo
d3426c0da2 [haxe] Port of commit 48355c2, abb4362: PhysicsConstraint fixes. 2025-09-16 10:59:41 +02:00
Davide Tantillo
34be39c098 [haxe] Fix skeleton json to properties scale missing default. 2025-09-16 10:59:41 +02:00
Mario Zechner
b96e7c2461 [assets] Re-exported and distributed to runtimes 2025-09-11 01:09:23 +02:00
Harald Csaszar
53fb4bcce4 More URLs in license files updated from http to https. 2025-08-01 17:30:01 +02:00
Mario Zechner
4a715633a7 [tests] Haxe serializer 2025-07-30 19:10:13 +02:00
Mario Zechner
e162835c31 [tests] Haxe SkeletonSerializer WIP 2025-07-30 10:10:49 +02:00
Mario Zechner
48081c7f20 [tests][haxe] WIP of SkeletonSerializer for Haxe 2025-07-29 21:39:14 +02:00
Davide Tantillo
6927995767 [haxe] Removed lime dependency from Skeleton.hx 2025-07-29 18:05:18 +02:00
Davide Tantillo
c10bc05088 [haxe] Port of commit 25bd863: Reverse IK bend positive logic (#2895).
Requires 4.3.39-beta+.
2025-07-25 09:14:55 +02:00
Mario Zechner
1efd045a83 Final clean-up of all Bash scripts except examples/**/*.sh and spine-godot/build/*.sh 2025-07-20 22:07:17 +02:00
Mario Zechner
d409ff23ff Fix format-xx.sh files wrt logging, add proper Swift formatting configuration. 2025-07-20 21:31:07 +02:00
Mario Zechner
0dd86dfdc1 Consistent logging in all Bash scripts via formatters/logging/logging.sh 2025-07-20 20:45:54 +02:00
Mario Zechner
c79031cc75 Remove npx install prompts and rely on auto-download
- Use npx -y for tsx to avoid install prompts
- Remove tsx from devDependencies since we use npx
- Remove npm install checks from format-ts.sh
2025-07-16 05:05:33 +02:00
Mario Zechner
62b38f9da8 Fix TypeScript dependencies and optimize Eclipse formatter build
- Install npm dependencies if node_modules missing
- Only rebuild Eclipse formatter if source is newer than JAR
- Make Eclipse formatter less verbose
2025-07-16 04:58:41 +02:00
Mario Zechner
9fcc5a8b8c [haxe] Formatting 2025-07-16 01:35:13 +02:00
Davide Tantillo
eacb922140 [haxe] 4.3 porting (a012479f, 92723279). 2025-07-15 09:56:46 +02:00
Davide Tantillo
247d36948a [haxe] 4.3 porting WIP. 2025-06-26 12:19:41 +02:00
Davide Tantillo
522785b8fb [haxe] Fixed sack example export. 2025-06-23 10:55:52 +02:00
Nathan Sweet
f4f1ea1fd9 Ran: examples/export/runtimes.sh 2025-06-20 15:56:02 -04:00
Davide Tantillo
d126475b84 [haxe] 4.3 porting WIP. 2025-06-20 11:58:22 +02:00
Davide Tantillo
f468cd0fd9 [haxe] 4.3 porting WIP - latest updates. 2025-06-20 10:04:40 +02:00
Davide Tantillo
f4a6677097 [haxe] 4.3 porting WIP - latest updates. 2025-06-16 09:53:07 +02:00
Davide Tantillo
a1bd7dcd98 [haxe] 4.3 porting WIP - Sliders fix. 2025-06-12 17:41:55 +02:00
Davide Tantillo
e210e20524 [haxe] 4.3 porting WIP - TC constants. 2025-06-12 15:36:37 +02:00
Davide Tantillo
09bf8a52cf [haxe] 4.3 porting WIP. 2025-06-12 15:17:06 +02:00
Davide Tantillo
651a897724 [haxe] 4.3 porting WIP. 2025-06-12 15:17:06 +02:00
Davide Tantillo
d7212370f6 [haxe] Port to 4.3 (WIP) - Fixing examples. 2025-06-10 17:26:33 +02:00
Davide Tantillo
ffb0f790f5 [haxe] Port to 4.3 - fix skeleton binary. 2025-06-06 17:41:23 +02:00
Davide Tantillo
b06a485ad8 [haxe] Port to 4.3 - fix clipping. 2025-06-06 17:41:23 +02:00
Davide Tantillo
47c687c870 [haxe] Port to 4.3 (WIP) 2025-06-05 17:58:50 +02:00
Davide Tantillo
4daeefd5cf [haxe] Port to 4.3 (WIP) 2025-06-04 17:40:33 +02:00
Mario Zechner
97d49b37b7 License header update 2025-05-26 13:24:06 +02:00
Mario Zechner
a27b63fc5e [haxe] Clean-up of documentation, remove HTML tags 2025-05-22 22:35:49 +02:00
Mario Zechner
0ffe43b83e [haxe] Clean-up of documentation, remove HTML tags 2025-05-22 22:34:05 +02:00
Mario Zechner
0c6788cd97 [haxe] More documentation synchronization with reference implementation 2025-05-22 22:11:12 +02:00
Mario Zechner
7ac6ae6987 [haxe] Fix update cache compilation error 2025-05-22 16:48:24 +02:00
Mario Zechner
b413153b59 [Haxe] Synchronize documentation with reference implementation 2025-05-22 16:20:34 +02:00
Davide Tantillo
24529f5cd1 [haxe] port of commit 4a351ce: Fixed delay being negative, causing the track time to jump. See #2837. 2025-05-07 17:53:18 +02:00
Davide Tantillo
b3bcbfa3c6 [haxe] Update readme. 2025-04-18 09:57:14 +02:00
Davide Tantillo
0275f280a3 [haxe] Release 4.2.7 2025-04-02 11:36:50 +02:00
Davide Tantillo
4ea6ee9ff8 [haxe][starling] SkeletonSprite remove from stage and juggler when disposed. 2025-04-02 11:08:47 +02:00
Davide Tantillo
4eb2cc0869 [haxe] Release 4.2.6 2025-03-18 09:55:15 +01:00
Davide Tantillo
34ccf846a9 [haxe] Add dispose function to starling. Add clearListeners to dispose/destroy. 2025-03-18 09:54:36 +01:00
Davide Tantillo
319d27ced3 [haxe] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. See #2786. 2025-03-14 09:33:14 +01:00