9893 Commits

Author SHA1 Message Date
misaki-eymard
76361f67a0 [godot] Update the Raptor texture atlas in the example project to the correct one. See #2663 2024-10-28 11:52:24 +09:00
Mario Zechner
405db7da51 [godot] Another fix for the template build script. See #2657 2024-10-23 12:03:08 +02:00
Mario Zechner
32be2c1ef1 [godot] Fix build script for Android template, closes #2657 2024-10-23 11:21:48 +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
Mario Zechner
623e2b9786 [godot] Fix web builds for Godot <= 4.2 2024-10-17 15:21:39 +02:00
Mario Zechner
cf5b340210 [godot] Another build script fix. 2024-10-17 12:12:09 +02:00
Mario Zechner
da3fa70d97 [godot] Fix build script. 2024-10-17 11:44:56 +02:00
Mario Zechner
9ea50d85a5 [godot] Try to fix web build on GitHub. 2024-10-17 11:30:42 +02:00
Mario Zechner
e4469dc77b [godot] Fix compilation with emscripten. 2024-10-17 09:00:18 +02:00
Mario Zechner
09542677f4 Fix Godot GH actions 2024-10-17 08:37:22 +02:00
Mario Zechner
5b15994403 Merge branch '4.2' into gdextension 2024-10-15 15:14:41 +02:00
Mario Zechner
bd34b7a9c8 [c] Fix incorrect != in spBone_parentToWorld 2024-10-15 15:14:29 +02:00
Mario Zechner
6063071809 [c] Fix incorrect != in spBone_parentToWorld 2024-10-15 14:57:07 +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
alvov
54ecc39017 Add sources to source maps via TS configuration option
Fixes #2652
2024-10-10 10:40:30 +02:00
Mario Zechner
5600d0d7c7 [godot] Fix statics deinitialization 2024-10-09 21:14:01 +02:00
Mario Zechner
62aad81999 [godot] Fix rendering in GDExtension. 2024-10-09 12:55:17 +02:00
Mario Zechner
728b96b85e [godot] Fix setup script, remove .idea references. 2024-10-09 11:18:04 +02:00
Mario Zechner
13127aa587 [godot] Fix module build for Godot 4.x 2024-10-09 11:13:37 +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
Mario Zechner
64c3e9af16 [godot] Restore old build/setup.sh 2024-10-08 17:17:50 +02:00
Mario Zechner
a3fa4e926f [godot] Clean-up, properly point to editor binaries in .gdextension file. 2024-10-08 17:16:20 +02:00
Mario Zechner
687a6959bb [godot] Fix static initializers for GDExtension initialization order, fix remaining FIXMEs, except SpineSprite rendering. 2024-10-08 17:08:43 +02:00
Mario Zechner
0dc8422c95 [godot] Remove superfluous GodotSpineExtension::_readFile impl 2024-10-08 16:00:53 +02:00
Mario Zechner
6dbed6044f [godot] Fix importers for extension settings 2024-10-08 15:49:23 +02:00
Mario Zechner
14992a57c3 [godot] Fix up extension build and setup script, add VS Code task and launch config 2024-10-08 15:16:47 +02:00
Mario Zechner
887f20435f [godot] Non-working but compiling state. Crashes when registering various inspectors/editor plugins 2024-10-07 18:07:30 +02:00
Mario Zechner
e9b43f9c73 [godot] More GDExtension work. SpineAnimationTrack, animation mixes editor plugin and SpineMesh2D are non-functional due to missing APIs in godot-cpp 2024-10-07 13:55:01 +02:00
Mario Zechner
f8a0b5b6f7 Merge branch '4.2' into gdextension
# Conflicts:
#	spine-godot/spine_godot/SpineAtlasResource.cpp
2024-10-07 08:38:57 +02:00
Mario Zechner
d4a3444328 [godot] Add support for load from disk for Godot 3.x and example 2024-10-07 08:20:38 +02:00
Mario Zechner
e4999922b6 [godot] Fix missing return statement in SpineAtlasResource::load_from_atlas_file 2024-10-07 07:46:06 +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
bedce14780 Restore resize observer since the window resize event does not fire on body resize, but on window resize. It's supported by 93% of the browsers. 2024-10-03 11:05:14 +02:00
brogan
ff6e4e7541
Merge branch 'EsotericSoftware:4.2' into 4.2 2024-10-03 22:04:00 +13:00
Davide Tantillo
8cc5a2ba5e Fix widget using overlay before overlay webcomponent is fully upgraded. 2024-10-03 09:23:48 +02:00
Mario Zechner
dbf0db5c10 [godot] Expose physics constraints, closes #2612 2024-10-02 16:47:53 +02:00
Mario Zechner
7897cffb3b [godot] Added example showing how to load files from disk. 2024-10-02 16:38:49 +02:00
Mario Zechner
7e6671456b [godot] Remove debug defines 2024-10-02 16:24:32 +02:00
Silc Lizard (Tokage) Renew
15ecabc4a8
[godot] Fix Skeleton/Texture loader for runtime loading (#2630) 2024-10-02 16:12:14 +02:00
Mario Zechner
4f06406e96 [godot] Fix spurious errors on first import of .atlas file. Closes #2385 2024-10-02 16:01:04 +02:00
Mario Zechner
29288ca44d [godo] Fix icons for Godot 4.x, see #2385 2024-10-02 13:37:19 +02:00
Mario Zechner
eb6a973f98 [cpp] Fix compliation on VS2017, closes #2645 2024-10-02 12:34:33 +02:00
chemodansama
7672c4a32d
Make String::startsWith and String::lastIndexOf const. (#2646)
Co-authored-by: Grigory Shabaganov <gshabaganov@halfbrick.com>
2024-10-02 12:11:59 +02:00
Mario Zechner
c07d8a3bf4 Try to fix download artifact error for Godot 3.5 builds 2024-10-02 10:09:29 +02:00
brogan
11ab0ffe53 [csharp] Fix missing include files 2024-10-02 14:53:16 +13:00
brogan
b470dd6171 [csharp] Update to TargetFrameworkVersion to v4.8 2024-10-02 14:52:59 +13:00
Harald Csaszar
448c38c968 [unity] Added basic Unity package dependencies for spine-unity package. Closes #2628. 2024-10-01 17:30:46 +02:00