1459 Commits

Author SHA1 Message Date
Davide Tantillo
dbf1453e10 Add set attachment action and slot attachment expression. 2025-11-05 15:33:17 +01:00
Davide Tantillo
be761e2792 Add set empty animation. 2025-11-05 12:40:20 +01:00
Davide Tantillo
57c2fa1cfd Add play, stop, isPlaying. 2025-11-05 12:31:06 +01:00
Davide Tantillo
8767b81e17 Made OnAnimationEvent more generic allowing empty params to be used as any. 2025-11-05 11:57:56 +01:00
Davide Tantillo
ff8024ed83 Improved OnAnimationEvent. 2025-11-04 17:21:54 +01:00
Davide Tantillo
34bd5a1479 Add is skeleton loaded condition. 2025-11-04 17:05:39 +01:00
Davide Tantillo
2e37fb3855 Add flip x action and condition. 2025-11-04 16:53:51 +01:00
Davide Tantillo
f09ded2744 Use chokidar to watch for json file changes a run the copy asset script. 2025-11-04 15:39:52 +01:00
Davide Tantillo
0eea3e98ec Reduced npm scripts for c3. 2025-11-04 12:38:50 +01:00
Davide Tantillo
e7787cc49c c3-lib is built and copied even if c3 runtime is not edited. 2025-11-04 12:22:40 +01:00
Davide Tantillo
21c2166fcb Move c3-lib inside c3 runtime. 2025-11-04 12:16:48 +01:00
Davide Tantillo
c175c1c5d0 Simplified c3-lib build. 2025-11-04 12:03:02 +01:00
Davide Tantillo
a64ec68c3f Animation error in editor. 2025-11-04 11:33:31 +01:00
Davide Tantillo
f8c82e0fb9 Format. 2025-11-03 15:36:03 +01:00
Davide Tantillo
abbd63013b Small type fixes. 2025-11-03 15:16:29 +01:00
Davide Tantillo
281d36e634 Pull addAnimation from #2949. 2025-11-03 15:16:29 +01:00
Davide Tantillo
19396f435c Pull some improvements from #2949, style fixes, name changes to remove template plugin names. 2025-11-03 15:16:29 +01:00
Davide Tantillo
9af308b2df Add support for multiply and screen blend mode. 2025-11-03 15:16:29 +01:00
Davide Tantillo
e4f6d229c1 Updated c3 to r459 that introduces multiply and screen blending modes. 2025-11-03 15:16:29 +01:00
Davide Tantillo
4b80ec9a81 Removed padUint16ArrayForWebGPU since the bug has been fixed from Scirra. 2025-11-03 15:16:29 +01:00
Davide Tantillo
eac735e5a9 Add vertices colors also for editor. 2025-11-03 15:16:29 +01:00
Davide Tantillo
881449a60b Updated c3 to r457 that introduces vertex colors also to editor SDK. 2025-11-03 15:16:29 +01:00
Davide Tantillo
4c1263207b Add missing reference to spine-construct3. 2025-11-03 15:16:29 +01:00
Davide Tantillo
28555dbfd2 Updated c3 to r455 that introduces updateRender. 2025-11-03 15:16:29 +01:00
Davide Tantillo
75f30e297d Add pma, wraps and filter management. 2025-11-03 15:16:29 +01:00
Davide Tantillo
235a96ca5c Add padding for indices to fix temporarily C3 bug. 2025-11-03 15:16:29 +01:00
Davide Tantillo
abb14cf6ea Asset export. Committed in ts folder, not main repo examples folder. 2025-11-03 15:16:29 +01:00
Davide Tantillo
46920ff54f Improved reset bounds management. 2025-11-03 15:16:29 +01:00
Davide Tantillo
45d94a3201 Updated ts-def to r452. 2025-11-03 15:16:29 +01:00
Davide Tantillo
da12c23c73 Bounds added as properties. Works also in runtime. 2025-11-03 15:16:29 +01:00
Davide Tantillo
8dec202923 Fixed bounds...finally! 2025-11-03 15:16:29 +01:00
Davide Tantillo
93c56d08d0 c3 backup 2025-11-03 15:16:29 +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