1430 Commits

Author SHA1 Message Date
Davide Tantillo
82e54c3b4c Removed unused assets from ts and haxe. 2025-11-10 17:32:58 +01:00
Mario Zechner
332a001192 [ts] Update some dependencies to latest version 2025-11-06 12:08:56 +01:00
Davide Tantillo
279e083baa [ts] Allow skeleton.setAttachment to accept null as attachmentName. 2025-11-05 15:27:41 +01:00
Davide Tantillo
a76e90fdf3 [ts] Fix PathAttachment missing this and SkeletonData default fps. 2025-10-30 09:49:05 +01:00
Davide Tantillo
236989ffec [ts] Fix missing BonePose shearX 2025-10-29 17:38:31 +01:00
Musa Asukhanov
42da98a3dd
[ts] Replace Array constructors with dynamic initialization (#2955)
* [ts] Replace Array constructors with dynamic initialization

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-10-28 11:05:58 +01:00
Davide Tantillo
eb4fb09765 [ts][phaser-v3][phaser-v4] Fix atlas page url duplication when using file:// + baseURL (#2961) 2025-10-27 17:29:20 +01:00
Davide Tantillo
c3ac62d1dd [ts] Processed spine-ts (not player) with biome. 2025-10-27 15:54:58 +01:00
Davide Tantillo
9ea694b16f [ts] Processed spine-core with biome. 2025-10-27 15:54:57 +01:00
Eugene Avtuhov
5bfb51ed0b
[ts][pixi-v7][pixi-v8] Add static createOptions for Spine init config to simplify subclassing; deprecate from(). (#2950)
* [ts][pixi-v7] extract Spine initialization data into getSpineInitData method

* [ts][pixi-v8] extract Spine initialization data into getSpineInitData method

* [ts][pixi-v8] Renamed getSpineInitData to createOptions. Deprecated from in favor of constructor accepting both SpineOptions and SpineFromOptions.

* [ts][pixi-v7] Renamed getSpineInitData to createOptions. Deprecated from in favor of constructor accepting both SpineOptions and SpineFromOptions.

* [ts][pixi-v7][pixi-v8] Refactored constructor.

---------

Co-authored-by: Eugene Avtukhov <eugene.avtukhov@3oaks.com>
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-10-21 10:40:24 +02:00
Davide Tantillo
7714942fe2 [ts][threejs] Format with biome. 2025-10-20 17:46:18 +02:00
Davide Tantillo
6e7727c836 [ts][threejs] Prefill normals at construction; they are always constant and perpendicular. See #2952. 2025-10-20 17:46:18 +02:00
Davide Tantillo
f53a514bf8 [ts][pixi-v8] Restored control bones example. 2025-10-15 15:50:43 +02:00
Davide Tantillo
bd3c2cbf4b [ts][pixi-v7] Add allowMissingRegions param to game object factory. 2025-10-15 15:50:43 +02:00
Davide Tantillo
807706fd03 [ts][pixi-v7] Removed deprecated methods. 2025-10-15 15:50:43 +02:00
Davide Tantillo
d7540f626b [ts][pixi-v8] Add allowMissingRegions param to game object factory. 2025-10-15 15:50:43 +02:00
Davide Tantillo
9ae1af6622 [ts] Port of 139fd84 and 20d5ee6: Add support to skeletons exported with per-skin atlases. 2025-10-15 09:15:11 +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
d21d5b1d0b [ts] Aligned setMix with reference runtime. 2025-10-01 16:46:55 +02:00
Davide Tantillo
6e7e285b28 [ts] Port of commit 64ed135: Fixed having a physics reset all timeline in a slider animation. 2025-09-30 10:22:32 +02:00
Davide Tantillo
351bccb8d1 [ts] Update biome noUnusedFunctionParameters. 2025-09-30 10:14:59 +02:00
Davide Tantillo
e899a99cbb [ts] Fixed AssetManager dispose invalidating textures too early. Close #2905. 2025-09-30 10:07:29 +02:00
Davide Tantillo
aded292be3 [ts][webcomponent] Fix removeWidget removing all widgets after given one. 2025-09-30 10:07:29 +02:00
Davide Tantillo
7496a4fb55 [ts] Fix webglcontextlost/restored not correctly bound. See #2938. 2025-09-29 11:51:51 +02:00
Davide Tantillo
2bd00b192c [ts][phaser] Correctly managed scene resize event. See #2916. 2025-09-24 14:54:59 +02:00
Davide Tantillo
add2b16062 [ts][pixi-v8] Slot objects are rendered only if skipRender is false. See #2912. 2025-09-16 12:41:54 +02:00
Davide Tantillo
f40ecd9933 [ts][pixi-v8] Fix skipRender regression introduced in 4.2.90. See #2912. 2025-09-16 12:41:54 +02:00
Davide Tantillo
f8a125aa8a [ts] Port of commit 48355c2, abb4362: PhysicsConstraint fixes. 2025-09-15 11:32:57 +02:00
Mario Zechner
b96e7c2461 [assets] Re-exported and distributed to runtimes 2025-09-11 01:09:23 +02:00
Davide Tantillo
24c7ac0edd [ts][pixi-v8] Removed unused import. 2025-08-27 17:05:36 -06:00
Davide Tantillo
0e56e4b5e6 [ts][pixi-v8] Updated PixiJS to 8.12 to prevent deprecation warnings. See #2909. 2025-08-27 14:02:22 -06:00
Davide Tantillo
8106e656e4 [ts][pixi-v8] Prevent rendering of attachments with alpha 0. See #2912. 2025-08-27 13:39:58 -06:00
Davide Tantillo
1309058850 [ts] Allow setSkin to accept null to unset skins. 2025-08-14 11:16:08 +02:00
Davide Tantillo
7c28c3c1c7 [ts] Add SkeletonRendererCore (missing file). 2025-08-12 10:34:02 +02:00
Davide Tantillo
3fa97353f1 [ts] Add SkeletonRendererCore. 2025-08-12 10:32:17 +02:00
Davide Tantillo
75421b2a41 [ts][pixi-v8] Updated loaders to use new properties introduced in Pixi 8.12. 2025-08-12 09:34:56 +02:00
Harald Csaszar
53fb4bcce4 More URLs in license files updated from http to https. 2025-08-01 17:30:01 +02:00
Davide Tantillo
a07b7176fd [ts][pixi-v7][pixi-v8] Fix multiple autoUpdate calls setting multiple tickers (see #2900) 2025-07-31 17:29:55 +02:00
Davide Tantillo
fc6c925954 [ts][pixi-v7] Removed unnecessary update on autoUpdate warning. 2025-07-31 17:29:55 +02:00
Davide Tantillo
3bec86e5bd [ts] Port of commit 25bd863: Reverse IK bend positive logic (#2895).
Requires 4.3.39-beta+.
2025-07-25 09:13:30 +02:00
Davide Tantillo
0566f2aee5 [ts] Formatting. 2025-07-22 17:07:08 +02:00
Davide Tantillo
9697fb2891 [ts][canvaskit] Use Uint32Array for colors to avoid canvaskit to allocate one each vertices creation.
# Conflicts:
#	spine-ts/spine-canvaskit/example/headless.js
#	spine-ts/spine-canvaskit/src/index.ts
2025-07-22 16:23:20 +02:00
Davide Tantillo
5826c4b1cf [ts][canvaskit] Properly fix vertices info misalignment that led to crash when clipping (0b426772).
# Conflicts:
#	spine-ts/spine-canvaskit/src/index.ts
2025-07-22 16:11:27 +02:00
Davide Tantillo
1f813f8c29 [ts][canvaskit] Fix headless example. 2025-07-22 16:00:40 +02:00
Davide Tantillo
cb9bdc8294 [ts] Add missing js extension on imports. 2025-07-22 16:00:40 +02:00
Davide Tantillo
0099c9b03a [ts][webgl][player] Dispose ManagedWebGLRenderingContext. 2025-07-22 16:00:40 +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
3927ff25ff [ts] Fix lints in HeadlessTest 2025-07-20 06:51:37 +02:00