139 Commits

Author SHA1 Message Date
Davide Tantillo
c3d510e3c8 [ts] Release 4.2.62 2024-11-05 17:31:40 +01:00
Davide Tantillo
aa932c6507 [ts] Release 4.2.61 2024-09-25 10:07:07 +02:00
Davide Tantillo
e54f49205c [ts] Release 4.2.60 2024-09-19 11:50:40 +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
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
Gordon Cummings
8d39c09de0 formatting
was auto using spaces over tabs
2024-08-13 09:57:47 +02:00
Gordon Cummings
dfa6098aa6 clipping mask vertices fix
in the case of weighted vertices on clipping attachments, we were previously using the length of the vertices array, which is not the same as the worldVerticesLength

example clipping attachment data:
"vertexCount": 4,
"vertices": [ 1, 15, -47.71, 34.91, 1, 1, 18, -47.86, -35.06, 1, 1, 17, 47.8, -34.9, 1, 1, 16, 47.81, 34.87, 1 ],

resulting vertices length would be 12
we actually needed 8
the result is an array with 8 correct numbers and 4 trailing numbers from the vertices array
2024-08-13 09:57:47 +02:00
Gordon Cummings
c6614d7db7 hide existing meshes when attachments are removed
when empty keyframes are set on attachments, we shouldn't see the mesh as it should have technically been removed (hidden)
2024-08-13 09:57:47 +02:00
Davide Tantillo
a1e4146cbb [ts] Release 4.2.57 2024-08-07 10:02:21 +02:00
Mario Zechner
29c87dbb05 [ts] Release 4.2.56 2024-07-09 14:31:32 +02:00
Mario Zechner
1b1e358f85 [ts] Release 4.2.55 2024-07-09 11:42:55 +02:00
Mario Zechner
cc965237b3 [ts] Release 4.2.54 2024-07-09 10:55:42 +02:00
Mario Zechner
67a0f4f37b [ts] Release 4.2.53 2024-07-05 19:07:19 +02:00
Mario Zechner
2942a661b5 [ts] Release 4.2.52 2024-07-05 18:11:07 +02:00
Mario Zechner
4f1cdb3c88 [ts] Release 4.2.50 2024-07-05 17:24:40 +02:00
Davide Tantillo
b4fd5d7bdd [ts][pixi] Fix memory leak due to not removing spine object from ticket. Close #2571. 2024-07-05 16:26:07 +02:00
Davide Tantillo
52cc1d44d8 [ts][pixi] Performance improvements. 2024-07-04 15:15:25 +02:00
Davide Tantillo
99d6693979 [ts] Release 4.2.48 2024-06-26 15:53:48 +02:00
Davide Tantillo
99affd27c7 [ts][pixi] Fixed alpha issue for mesh not using dark tint (see #2561). 2024-06-26 15:47:05 +02:00
Davide Tantillo
ed4b9f1e45 [ts][pixi] Removed WIP note from pixi readme. Add doc link to ts readme. 2024-06-22 22:33:13 +02:00
Davide Tantillo
26f8b056bb [ts][pixi] Fixed regression that caused multiple animatino update at window resize. 2024-06-21 13:25:04 +02:00
Davide Tantillo
3ef197b666 [ts][pixi] Upgraded pixi examples to latest pixi 7 (7.4.2). 2024-06-21 09:44:33 +02:00
Davide Tantillo
64fe74e91c [ts][pixi] Fix parent alpha not working for dark tint. Aligned DarkTintMaterial shader with the Batcher one. 2024-06-18 18:29:35 +02:00
Davide Tantillo
bdece0d5ef [ts] Release 4.2.47 2024-06-17 21:00:31 +02:00
Davide Tantillo
cc6fc1f5b4 [ts][pixi] Fix dark tint + alpha not working. Closes #2550. 2024-06-17 16:56:21 +02:00
Davide Tantillo
28a503a7ac [ts][pixi] Fixed regression on rendering setup pose before update state (removed internal Ticker). Closes #2539. 2024-06-16 11:19:53 +02:00
Davide Tantillo
28c8a10953 [ts] Release 4.2.46 2024-06-12 14:29:56 +02:00
Davide Tantillo
61e9be2dcc [ts][pixi] clipping + alpha for pixi objects added to slots 2024-06-12 12:41:55 +02:00
Davide Tantillo
b4d61790f7 [ts] Port of earlier clipping cleanup commit 485de74: SkeletonClipping.ClipTriangles clean up. 2024-06-11 15:18:26 +02:00
Davide Tantillo
0481a04cef [ts] Release 4.2.45 2024-06-06 08:40:11 +02:00
Davide Tantillo
17da13d432 [ts][pixi] Add before/afterUpdateWorldTransforms to inject easily logic in skeleton lifecycle 2024-06-05 17:35:33 +02:00
Davide Tantillo
985dd84027 [ts][pixi] Empty slotsObject on destroy. 2024-06-05 16:57:05 +02:00
Davide Tantillo
e290569748 [ts][pixi] Add feature to attach pixi objects to slots
[ts][pixi] Format fix

[ts][pixi] Format fix

[ts][pixi] Use world scale for slot object.
2024-06-05 16:18:09 +02:00
Mario Zechner
e498e96355 [pixi] Update internals to be more straight forward. 2024-06-04 12:24:49 +02:00
Mario Zechner
62a8216c63 [ts] Release 4.2.44 2024-06-04 11:15:10 +02:00
Davide Tantillo
8e20a5e02b [ts][pixi] Use pixi coordinate transformation functions 2024-06-03 11:01:15 +02:00
Davide Tantillo
569adb1cd1 [ts][pixi] Add control bones example in example list 2024-05-28 11:41:41 +02:00
Davide Tantillo
1336255592 [ts][pixi] Add methods to transform from/to pixi/spine coordinates. Add control bone example to show usage. 2024-05-24 16:38:09 +02:00
Davide Tantillo
986e061272 [ts][pixi] Excluded typescript example from build 2024-05-23 12:38:59 +02:00
Davide Tantillo
fd65b561b8 [ts][pixi] Add typescript example 2024-05-23 12:23:21 +02:00
Davide Tantillo
e39ed25240 [ts] Release 4.2.43 2024-05-17 12:31:14 +02:00
Richard Fu
89831677e4 [ts][pixi] Add tint property for Pixi's convention. 2024-05-17 12:23:36 +02:00
Mario Zechner
a911384e67 Re-export examples and copy to runtimes 2024-05-16 16:08:40 +02:00
Davide Tantillo
77b6a5bb03 [ts][pixi] Add JSDoc. 2024-05-16 12:01:22 +02:00
Mario Zechner
4183a58100 [ts] Release 4.2.42 2024-05-14 10:19:28 +02:00