Davide Tantillo
7759b501e5
Make overlayAssignedPromise private.
2025-05-09 15:40:38 +02:00
Davide Tantillo
b1370ceae3
food app and cleanup
2025-05-09 15:40:38 +02:00
Davide Tantillo
49afa43d8f
Fixed issues with slot events on mobile.
2025-05-09 15:40:38 +02:00
Davide Tantillo
c8b0272ca8
Overlay needs to consider border if it's scrollable.
2025-05-09 15:40:38 +02:00
Davide Tantillo
197571e671
Overlay parent bounding box determined only if necessary.
2025-05-09 15:40:38 +02:00
Davide Tantillo
ec314953bb
Overlay should load not for DOMContentLoaded event only if document has already complete loading.
2025-05-09 15:40:38 +02:00
Davide Tantillo
f3612e73cf
Fixed overlay disconnectedCallback.
2025-05-09 15:40:38 +02:00
Davide Tantillo
71780e6d60
formatter
2025-05-09 15:40:38 +02:00
Davide Tantillo
85d4715313
Move getBounding in scrollable case.
2025-05-09 15:40:38 +02:00
Davide Tantillo
1233d876a3
Temporarily add windmill only manually to webgl assets
2025-05-09 15:40:38 +02:00
Davide Tantillo
d4aeb9a608
Add interactive widget example.
2025-05-09 15:40:38 +02:00
Davide Tantillo
2a6b424a1c
Resize overlay when follow slot element is added.
2025-05-09 15:40:38 +02:00
Davide Tantillo
40724dd52e
Fixed slot interaction issue.
2025-05-09 15:40:38 +02:00
Davide Tantillo
29a30a07c1
Fixed multiple click events on mobile touches. Add team example.
2025-05-09 15:40:38 +02:00
Davide Tantillo
3a279d2ff0
Update tutorial.
2025-05-09 15:40:38 +02:00
Davide Tantillo
34acafb254
Prevent error on disconnected callback
2025-05-09 15:40:38 +02:00
Davide Tantillo
04eb82e8b6
Prevent useless resize.
2025-05-09 15:40:38 +02:00
Davide Tantillo
e02f495883
format
2025-05-09 15:40:38 +02:00
Davide Tantillo
c4d419caf9
Add rawData attribute to pass s stringified JSON object for inline base64 assets.
2025-05-09 15:40:38 +02:00
Davide Tantillo
23ece7f4da
Pma properties on atlas is used to detect pma textures.
2025-05-09 15:40:38 +02:00
Davide Tantillo
69e4d365e0
Reduce DPI if canvas is too big to avoid page crash - this happen on webpage on mobile with high dpi and missing meta viewport tag with width=device-width.
2025-05-09 15:40:38 +02:00
Davide Tantillo
961e377ec9
Made overlay canvas size consistent across different browsers. Base size is not anymore the screen size due to browser limitations, but the window size. This will trigger additional canvas resize on window resize.
2025-05-09 15:40:38 +02:00
Davide Tantillo
6671cac372
Original event is passed to bounds and slot callbacks.
2025-05-09 15:40:38 +02:00
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