1219 Commits

Author SHA1 Message Date
Davide Tantillo
5c42b6fa2d Manage lifecycle for Input and SpineWebComponentOverlay. Missing SpineWebComponentWidget. 2024-09-27 16:06:23 +02:00
Davide Tantillo
e26034426a Made some changes to make it work on old browsers. 2024-09-27 12:30:09 +02:00
Davide Tantillo
27edd8a284 Made span fps display configurable. 2024-09-26 17:09:15 +02:00
Davide Tantillo
a254fabaef Cleaned webcomponent example. 2024-09-26 16:09:27 +02:00
Davide Tantillo
3b4ab02d92 Fix 1 pixel misalignment in non clip mode. 2024-09-26 15:45:19 +02:00
Davide Tantillo
3d77f1c26e Removed custom LoadingSpinnerWindget class. Added a new specific method in LoadingSpinner. 2024-09-26 15:40:16 +02:00
Davide Tantillo
9399c42ec7 Removed useless changes on other classes. 2024-09-26 14:41:41 +02:00
Davide Tantillo
e9873147c2 Fix zoom bug due to screen size remaining the same at different zoom level. 2024-09-26 14:22:59 +02:00
Davide Tantillo
e8511ca8b2 Modified export script to copy chibi 2024-09-26 14:22:59 +02:00
Davide Tantillo
4536789e39 WIP - Refactor + animation and skin attribute change will reinit the widget 2024-09-26 14:22:59 +02:00
Davide Tantillo
d178f5de7c WIP - Doc before refactor 2024-09-26 14:22:59 +02:00
Davide Tantillo
b4f11c2f21 Refactor drag logic. Drag works with clip too. 2024-09-26 14:22:59 +02:00
Davide Tantillo
d2c29c5cfb Removed code duplication for clipping into div 2024-09-26 14:22:59 +02:00
Davide Tantillo
e67aa324fe Removed SpineCanvasApp dependency. 2024-09-26 14:22:59 +02:00
Davide Tantillo
847c152f2a Added clip. 2024-09-26 14:22:59 +02:00
Davide Tantillo
034c6266e8 Translate is done each frame through requestAnimationFrame. 2024-09-26 14:22:59 +02:00
Davide Tantillo
6c0b1b8c2c Fixed loading spinner example 2024-09-26 14:22:59 +02:00
Davide Tantillo
26d1ca739d Add OffScreenUpdateBehaviour 2024-09-26 14:22:59 +02:00
Davide Tantillo
bc192f4178 Renamed 2024-09-26 14:22:59 +02:00
Davide Tantillo
59a7715b2e mostly work - when overflow top/bottom...are > 0, widgets slightly jump on up and down fast scroll. 2024-09-26 14:22:59 +02:00
Davide Tantillo
96282273f8 Loading 2024-09-26 14:22:59 +02:00
Davide Tantillo
221e3f6624 web component 2024-09-26 14:22:59 +02:00
Davide Tantillo
d92046f325 Scroll should be resolved 2024-09-26 14:22:58 +02:00
Davide Tantillo
394b97b105 Zoom fix - WIP horizontal scroll bug see comment at line 495 2024-09-26 14:22:58 +02:00
Davide Tantillo
7f5b934a64 overlay fix scroll cut 2024-09-26 14:22:58 +02:00
Davide Tantillo
2da5b06c2d overlay 2024-09-26 14:22:58 +02:00
Davide Tantillo
3b5d74e0e8 overlay 4 2024-09-26 14:22:58 +02:00
Davide Tantillo
9d1109c9dc canvas4 2024-09-26 14:22:58 +02:00
Davide Tantillo
544fd4d8cd [ts] poc wegl overlay 2024-09-26 14:22:58 +02:00
Davide Tantillo
09ea76aa14 [ts] poc wegl overlay 2024-09-26 14:22:58 +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
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
Davide Tantillo
561219a4d8 [ts] Formatting 2024-08-07 09:51:17 +02:00
Davide Tantillo
a6899e7625 [ts] Restore deprecated clipTriangles signature erroneously removed in 4.2.46. Scheduled for removal in 4.3. 2024-08-07 09:42:46 +02:00
Davide Tantillo
e4df0c0dff [ts] Port of commit 877e705dd. Fix NaN in IKConstraint due to fp precision. 2024-08-07 08:36:46 +02:00