1383 Commits

Author SHA1 Message Date
Davide Tantillo
a46e76b1d7 Add animations, animations-bound and default-mix attributes. 2025-05-09 15:40:38 +02:00
Davide Tantillo
a636ef0964 Add followSlot method 2025-05-09 15:40:38 +02:00
Davide Tantillo
f9d73920d2 Fix physicsTranslate y opposite direction while dragging. 2025-05-09 15:40:38 +02:00
Davide Tantillo
3dd4e91ff5 Fixed a bug where an infinite loop occurred in Firefox when compareDocumentPosition results in DOCUMENT_POSITION_DISCONNECTED.
In both Chrome and Firefox, when an element is inside a webcomponent the comparison results in DOCUMENT_POSITION_DISCONNECTED. But in Firefox the element result in DOCUMENT_POSITION_FOLLOWING too, leading to an infinite loop.
2025-05-09 15:40:38 +02:00
Davide Tantillo
4d795da488 Add interactivity events. 2025-05-09 15:40:38 +02:00
Davide Tantillo
598fcc5cf4 WIP - Add interactivity events. isdraggable is currently broken. 2025-05-09 15:40:38 +02:00
Davide Tantillo
f7316acef5 Simplified drag calculation and drag debug removing an additional div. 2025-05-09 15:40:38 +02:00
Davide Tantillo
89976b7f48 Simplified clip to div by using scissor rather than changing viewport+camera.
In this way we can treat coordinates equally for cliped and not clipped widgets!
2025-05-09 15:40:38 +02:00
Davide Tantillo
2b6e1ff578 Allow multiple widgets for the same HTMLElement 2025-05-09 15:40:37 +02:00
Davide Tantillo
f9bada6d0c Merge branch '4.2' into ts-webgl-overlay 2025-05-09 15:40:37 +02:00
Davide Tantillo
69cc3e81c1 [ts] Release 4.2.81 2025-05-08 13:01:28 +02:00
Davide Tantillo
e553d71807 [ts][pixi-v8] Spine allowChildren to true to prevent deprecation warning. Close #2841. 2025-05-08 12:54:58 +02:00
Mario Zechner
c9aca368d6 [ts] Port of #2837 2025-05-07 13:17:43 +02:00
Davide Tantillo
6654484a33 [ts] Release 4.2.80 2025-04-24 16:08:06 +02:00
Davide Tantillo
1530550acd [ts][pixi-v7][pixi-v8] Fixed slot objects ignoring negative parent bone scale. See #2818. 2025-04-24 16:03:25 +02:00
Davide Tantillo
3f65213f70 [ts] Release 4.2.79 2025-04-23 17:06:06 +02:00
Davide Tantillo
15766e8ef2 [ts][phaser-v3][phaser-v4] Fixed gameobject position when it is rotated. 2025-04-23 17:06:06 +02:00
Davide Tantillo
4d63de47e4 [ts] Release 4.2.78 2025-04-23 12:37:47 +02:00
Davide Tantillo
62b5fc9e86 [ts][phaser-v3][phaser-v4] Aligned bounds and skeleton when gameobject origin is moved. Add AABBRectangleBoundsProvider. 2025-04-23 12:26:32 +02:00
Davide Tantillo
710fb93b9b [ts] Update readme. 2025-04-18 09:56:24 +02:00
Davide Tantillo
8b99da4cb4 [ts][phaser-4] Fix readme. 2025-04-17 10:01:31 +02:00
Davide Tantillo
1c60592511 [ts][phaser] Untrack erroneously added phaser-v3 dist folder. 2025-04-17 09:48:44 +02:00
Davide Tantillo
18d275cfe4 [ts][phaser] Update ts examples with -v3 and -v4 versions. 2025-04-16 17:37:23 +02:00
Davide Tantillo
da0be9de63 [ts] Release 4.2.77 2025-04-16 17:32:06 +02:00
Davide Tantillo
27f8150e56 [ts] Fixed typo in examples index.html. 2025-04-16 17:24:38 +02:00
Davide Tantillo
f5fc3b9175 [ts] Updated build and publish script for phaser-v4. 2025-04-16 17:13:49 +02:00
Davide
b2c12b9d06
[ts][phaser-v3][phaser-v4] New runtime for phaser-v4. Moved phaser to phaser-v3 (#2815) 2025-04-16 17:01:53 +02:00
Davide Tantillo
e9ffad91c5 [ts][phaser] Add inline loading example to the examples list. 2025-03-14 16:44:29 +01:00
Davide Tantillo
5f28cae564 [ts][phaser] Add inline loading example for Phaser. 2025-03-14 16:42:58 +01:00
Davide Tantillo
9ae2b732c0 [ts] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. See #2786. 2025-03-14 09:31:22 +01:00
Davide Tantillo
18d30af5a9 [ts] Release 4.2.76 2025-03-12 10:40:45 +01:00
Davide Tantillo
67488d7c95 [ts][phaser] Fix wrong type definition. 2025-03-12 10:36:48 +01:00
Nathan Sweet
56823c5ca5 Use timekeeper delta. 2025-03-08 11:39:25 -04:00
Davide Tantillo
9ecbee794b [ts] Release 4.2.75 2025-03-05 12:37:46 +01:00
Davide Tantillo
0f8a707b48 [ts][phaser] Fix add/make not clearing and rebinding the WebGL pipeline. 2025-03-05 12:31:10 +01:00
Nathan Sweet
b4a563b7ce Typo in error message. 2025-03-04 12:50:37 -04:00
Davide Tantillo
219348e7f4 [ts][threejs] Fixed dark tint shader. 2025-02-20 15:43:23 +01:00
Davide Tantillo
9f819b3872 [ts] Release 4.2.74 2025-02-20 12:58:57 +01:00
Davide Tantillo
da1ab49291 [ts][pixi-v8] Fix currentClippingSlot not reset. Close #2757. 2025-02-20 12:56:12 +01:00
Davide Tantillo
bd1b98fe97 [ts] Release 4.2.73 2025-02-13 11:58:59 +01:00
Davide Tantillo
9d168a94ff [ts][player] Fixed not working examples. 2025-02-13 11:52:20 +01:00
Davide Tantillo
6792bc72c1 [ts][player] Fix state.setAnimation and player.setViewport not working on success callback. 2025-02-13 11:52:01 +01:00
Davide Tantillo
ab4add3db6 [ts] Release 4.2.72 2025-02-06 11:09:17 +01:00
Davide Tantillo
2d6c5381e9 [ts] Fixed yDown branch of previous commit 89441ca leading to upward gravity. See #2729. 2025-02-06 09:36:50 +01:00
Davide Tantillo
06f6e1473c [ts][phaser] Updated ts example spine-phaser dependency to fix pma issue. 2025-01-30 15:02:07 +01:00
Davide Tantillo
f8bcbb3e59 [ts][pixi-v7] Allow to define a bounds providers for the Spine game object. See #2734. 2025-01-29 17:53:33 +01:00
Davide Tantillo
9fb49c2166 [ts][pixi-v8] Allow to define a bounds providers for the Spine game object. See #2734. 2025-01-28 16:13:28 +01:00
Davide Tantillo
01d676f53e [ts][phaser] BoundsProviders can now consider clipping attachments. 2025-01-27 15:10:42 +01:00
Davide Tantillo
8f84f8daa5 [ts][phaser] Fix SkinsAndAnimationBoundsProvider. 2025-01-27 15:10:25 +01:00
Davide Tantillo
3685fa7e35 [ts] Skeleton.getBoundsRect can now consider clipping attachments. 2025-01-27 15:00:43 +01:00