1336 Commits

Author SHA1 Message Date
Davide Tantillo
2c00d8683a [ts][pixi-v8] Add option to sync attachment visibility to slot object. See #2731. 2025-01-24 14:36:44 +01:00
Davide Tantillo
7e1de838d2 [ts] Apply skeleton.scaleX/scaleY to wind and gravity. See #2729. 2025-01-24 11:34:48 +01:00
Davide Tantillo
9f3431e7a0 [ts][pixi-v7][pixi-v8] Atlas url query params are copied to png url. Closes #2732. 2025-01-24 11:18:23 +01:00
Mario Zechner
518fe48583 Formatting 2025-01-07 08:17:58 +01:00
Davide Tantillo
1f0ed7547f [ts] Release 4.2.70 2024-12-18 14:30:13 +01:00
Mat Groves
50e3b405b5
[ts][pixi-v8] Fix: pixi v8 bug in validate renderables (#2717)
* Update SpinePipe.ts

* fix a little spine issue
2024-12-18 14:23:36 +01:00
Davide Tantillo
3514e2070b ts] Release 4.2.69 2024-12-14 23:14:44 +01:00
Davide Tantillo
6b44f22d83 [ts][player] Restored missing css in build 2024-12-14 23:05:10 +01:00
Davide Tantillo
007f39f519 [ts] Release 4.2.68 2024-12-10 14:23:46 +01:00
Davide Tantillo
7e92141215 [ts] Port of commit 8d058fb: Improved AnimationState behavior when paused. See #2705. 2024-12-10 14:14:21 +01:00
Mario Zechner
d1117b8248 Formatting 2024-12-09 14:52:06 +01:00
Davide Tantillo
a4b5605921 [ts][pixi-v7] Run tsfmt 2024-12-06 16:40:29 +01:00
Davide Tantillo
a905b92e79 [ts][pixi-v7] Prevent always setup pose rendering for the first frame as did in 6ab5ddf9 for pixi-v8. 2024-12-06 16:36:28 +01:00
Davide Tantillo
ab545be08c [ts] Release 4.2.67 2024-12-06 11:43:50 +01:00
Davide Tantillo
7594c959dc [ts][threejs] Add support for lighting and shadow. Upgraded three to 0.162.0. Added new constructor. 2024-12-06 11:22:53 +01:00
Davide Tantillo
20827bf371 [ts][player] Small fix in physics example 2024-12-04 10:07:29 +01:00
Davide Tantillo
e8cd734ef2 [ts] Update build script to include esm bundles 2024-12-03 10:16:51 +01:00
Davide Tantillo
7adb09c0f8 [ts] Changed location of esm bundles to dist/esm 2024-12-03 10:03:34 +01:00
Davide Tantillo
13a0a68275 [ts][pixi-v8] Aligned bounds to pixi 8.6 updates. 2024-11-28 11:05:59 +01:00
Davide Tantillo
dc2bcb02e1 [ts] Aligned Skeleton updateWorldTransformWith with reference runtime. Close #2695. 2024-11-26 16:16:18 +01:00
Davide Tantillo
e55c467d64 [ts] Removed phaser as project dependency since e23beb7 add it as spine-phaser peerDependency 2024-11-25 10:46:01 +01:00
Davide Tantillo
b4dfa16d36 [ts] All packages build as esm bundles too. 2024-11-25 10:46:01 +01:00
Konstantin Tolis
c505061d91 [ts][pixi-v7] Fix incorrect pixiObject scale in updatePixiObject 2024-11-22 14:44:34 +01:00
Davide Tantillo
a90bdce403 [ts] Release 4.2.66 2024-11-15 11:21:02 +01:00
Davide Tantillo
3a64c60f5f [ts][pixi-v8] Cleanup example folder. 2024-11-15 11:15:22 +01:00
Davide Tantillo
f64b20d17d [ts] Port of commit 9d49999: Changed SequenceTimeline to match AttachmentTimeline behavior. 2024-11-15 10:39:25 +01:00
Davide Tantillo
1b3194a67c [ts][pixi-v8] Add missing .js extensions. 2024-11-15 10:23:03 +01:00
Davide Tantillo
a815fc40d8 [ts] Add missing license headers. 2024-11-14 11:16:20 +01:00
Davide Tantillo
3512e3ddff [ts][pixi] Add bunnymark example to compare performance among releases. 2024-11-14 10:56:11 +01:00
Davide Tantillo
5cc203b772 [ts][pixi-v8] Fixed physics2 example. 2024-11-13 12:33:55 +01:00
Davide Tantillo
417d7c2239 [ts][pixi-v8] Cleanup examples and updated runtime.sh script. 2024-11-13 11:33:16 +01:00
Davide Tantillo
2fa1c28fba [ts] Release 4.2.65 2024-11-13 11:08:02 +01:00
Davide Tantillo
a4ea2979cd [ts][canvaskit] Removed additional slash from texture url. 2024-11-13 11:04:39 +01:00
Davide Tantillo
814f0ae8fd [ts][pixi-v8] Removed useless warning about update invocation with autoUpdate. 2024-11-13 10:17:14 +01:00
Davide Tantillo
fb3855ad65 [ts][pixi-v8] Clean up SpinePipe after Spine object is destroyed. Closes #2678. 2024-11-13 09:38:08 +01:00
Davide
8a8fc74f8e
[ts][pixi-v8] Moved state.apply and UWT right after time updates. (#2679) 2024-11-13 09:14:28 +01:00
Davide Tantillo
6ab5ddf92d [ts] Release 4.2.64 2024-11-12 10:07:55 +01:00
Davide Tantillo
6ddf908899 [ts][pixi-v8] Ensure cached uvs array sized. Closes #2677. 2024-11-12 10:00:05 +01:00
Davide Tantillo
97a83c2430 [ts][pixi] Updated ts example on v7 and added to v8 2024-11-07 15:55:07 +01:00
Davide Tantillo
b2b0a3dc42 [ts] Release 4.2.63 2024-11-07 15:17:01 +01:00
Davide Tantillo
6cc8809406 [ts][pixi] Move pixi to pixi-v7 2024-11-07 14:49:36 +01:00
Davide Tantillo
ca00e56136 [ts] Run tsfmt 2024-11-07 11:34:50 +01:00
Davide Tantillo
e8719ebb99 [ts] Run tsfmt 2024-11-06 17:57:46 +01:00
Mat Groves
ecbe9b0247
Add PixiJS v8 support to spine (#2641)
* add v8 support to spine!

* Renamed examples folder for consistency.

* Gitignore dist.

* Tsconfig.

* Package json.

* Modification due to strictNullChecks=true.

* Run tsfmt.

* Use clipper.clipTriangles not deprecated version.

* Aligned example to spine-pixi (v7).

* Fix clipping dark tint wrong param.

* Removed useless clipper.

* Push texture issue repro example

* fix attachment.uvs by copying them

* SlotObject alpha connected to skeleton and slot alpha.

* add topology for future v8 release

* Dark tint rendered is enabled if at least one slot has dark tint, or by configuration.
Fixed clipping while using dark tint.

* Optimized clipping by using clipTrianglesUnpacked.

* Repro example for clipping issue.

* Aligned constructor and from signature of spine-pixi(-v7) to v8. Deprecated old signatures.

* Removed useless function.

* Fixed clipping issue flagging attachment as dirty if indices change.

* Clipping attachments clip slot object through Pixi Graphics masks.

* Add autoUpdate in SpineFromOptions

* Added javadoc to pixiv8

* Updated pixi7 examples to use SpineFromOptions interface

* Aligned atlas loader to use texturePreference for bundles.

* Add pool to manage slot objects masks

* Fixed minor issues with SpineDebugRenderer

* Aligned spine-pixi-v8 with latest spine-core

* Updated build and publish script

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2024-11-06 17:23:01 +01:00
Davide Tantillo
c3d510e3c8 [ts] Release 4.2.62 2024-11-05 17:31:40 +01:00
Davide Tantillo
8a03d8a7c7 [ts][phaser] Automatically set UNPACK_PREMULTIPLY_ALPHA_WEBGL to false when spine texture is created, then restore it. 2024-11-05 16:09:13 +01:00
alvov
54ecc39017 Add sources to source maps via TS configuration option
Fixes #2652
2024-10-10 10:40:30 +02:00
Davide Tantillo
aa932c6507 [ts] Release 4.2.61 2024-09-25 10:07:07 +02:00
Davide Tantillo
e23beb7f75 [ts][phaser] Fixed phaser peerDependency blocked to 3.60 2024-09-25 10:03:58 +02:00
Davide Tantillo
e54f49205c [ts] Release 4.2.60 2024-09-19 11:50:40 +02:00