1226 Commits

Author SHA1 Message Date
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
Mario Zechner
8dce540136 [ts] Fix TypeScript compiler version to latest 2024-09-19 11:15:48 +02:00
Davide Tantillo
7f6c672911 [ts][pixi] Add phaser as peer dependency. 2024-09-19 11:12:00 +02:00
Davide Tantillo
4cadd152b5 [ts] Release 4.2.59 2024-09-09 16:55:34 +02:00
Davide Tantillo
9e8b59df36 [ts][pixi] Removed bundle example in favor of updating documentation. 2024-09-09 15:16:48 +02:00
Richard Fu
167470fb16 [ts][pixi] Fix atlas src cannot be resolved for preferred texture 2024-09-09 15:16:48 +02:00
Davide Tantillo
cd69a7c78a [ts] Port of commit d769c1a: Fixed noRotationOrReflection with skeleton scale. 2024-09-09 11:09:27 +02:00
Gordon Cummings
d774632ccf replaces setTransform on slotObject
setTransform on pixi displayObjects performs:
```
this.scale.x = !scaleX ? 1 : scaleX;
this.scale.y = !scaleY ? 1 : scaleY;
```
meaning any transformations to scale 0 will become scale 1
2024-08-13 11:55:11 +02:00
Davide Tantillo
ed26c35d47 [ts] Release 4.2.58 2024-08-13 10:04:38 +02:00
Davide Tantillo
d8e0ca097e [ts][pixi] Formatting 2024-08-13 09:57:47 +02:00
Davide Tantillo
29369493db [ts][pixi] Fix existing meshes when attachments are remove, and clippings for slot objects. 2024-08-13 09:57:47 +02:00