Davide Tantillo
bb1bdceb83
Moved assets to a single assets folder.
2025-05-09 15:42:06 +02:00
Davide Tantillo
0af3e094fe
Move webcomponent to spine-widget folder.
2025-05-09 15:40:38 +02:00
Davide Tantillo
c0a2d292ea
spinner to no-spinner.
2025-05-09 15:40:38 +02:00
Davide Tantillo
cdf97f019e
Cleaned up examples.
2025-05-09 15:40:38 +02:00
Davide Tantillo
9ad38173cb
Add dispose example.
2025-05-09 15:40:38 +02:00
Davide Tantillo
f4e375a2cd
Refcounter for asset manager and gl resources disposal for webcomponent.
2025-05-09 15:40:38 +02:00
Davide Tantillo
8380540c99
fix return to continue in for of.
2025-05-09 15:40:38 +02:00
Davide Tantillo
867557f743
onScreenManualStart to startWhenVisible. startWhenVisible set manualStart to true.
2025-05-09 15:40:38 +02:00
Davide Tantillo
5bf75239d9
recalculateBounds and autoRecalculateBounds to calculateBounds and autoCalculateBounds.
2025-05-09 15:40:38 +02:00
Davide Tantillo
e5a4bccb69
getHTMLElementReference to getHostElement.
2025-05-09 15:40:38 +02:00
Davide Tantillo
15375fb20c
Update bounds and slot interaction method names.
2025-05-09 15:40:38 +02:00
Davide Tantillo
0c90eed036
scrollable-tweak-off changed to no-auto-parent-transform.
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
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
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
c4d419caf9
Add rawData attribute to pass s stringified JSON object for inline base64 assets.
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
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
bdb9ea160e
Fixed example.
2024-10-21 15:31:33 +02:00
Davide Tantillo
38f5231cd2
Docs and minor fixes.
2024-10-21 15:19:46 +02:00
Davide Tantillo
0fa960251a
WIP - Added/Changed:
...
- overlay loading: now overlay is moved as the last element from where it is inserted to avoid widgets covered by backgrounds of html elements after it.
- default overlayId
- widget position in overlay coordinates (worldX, worldY) (experimental)
- cursor position on widget world (cursorWorldX, cursorWorldY) (experimental)
- jsonSkeletonKey: allow to load a specific skeleton in json containing multiple skeletons
- onViewportManualStart: start the widget when in manual-start and enters the viewport the first time
- overlayAssignedPromise: a promise that resolves when the overlay is assigned to the widget. Reads the comment on it
- appendTo: to append the widget created using js and wait for the overlayAssignedPromise to resolve
- changed how loadingPromise works
- added cursorCanvasX, cursorCanvasY, cursorWorldX, cursorWorldY to overlay (experimental)
2024-10-18 16:42:57 +02:00
Davide Tantillo
de7494036c
Initial support of spine-widget into scrollable containers, and overlay-id for multiple spine-overlay.
...
working
2024-10-14 18:22:09 +02:00
Davide Tantillo
e9a07bd6b9
Changes to make the widget more dynamic while changing attributes. See now webcomponent-gui.html.
2024-10-08 17:26:31 +02:00
Davide Tantillo
a34b8273b3
Exposed parameters to set bounds.
...
Deeply changed how bounds work, especially for the fact that they are not auto recalculated anymore if the animation is changed (unless autoRecalculateBounds is set to true).
2024-10-04 17:38:23 +02:00
Davide Tantillo
f4837ad8eb
Add padding attributes/properties.
2024-10-03 13:05:12 +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
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
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
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
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
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