9968 Commits

Author SHA1 Message Date
Luke Ingram
07b8d96e19 [godot] Updates Vulkan SDK version
Additionally removes unnecessary comments.
2025-12-16 15:29:25 -04:00
Mario Zechner
e3f7e90912 [godot] Fix GDExtension crash on editor shutdown
Properly remove import/inspector plugins in NOTIFICATION_PREDELETE
before the extension is unloaded to prevent crash when Godot's
ResourceFormatImporter tries to unreference already-destroyed plugins.
2025-12-16 15:20:01 +01:00
Luke Ingram
de8ae9ef6b
Merge pull request #2996 from EsotericSoftware/4.2-godot-fixes-2899-2980-2985
[godot] Addresses #2899, #2980, #2985

- [godot] Mismatched registration in Godot bindings causing crash on exit #2899
- [godot] Double-clicking a .json file in the FileSystem dock causes the editor to crash #2985
- [Godot] Engine crash on skeleton data change #2980
2025-12-15 20:30:23 -04:00
Luke Ingram
55d46f2019 [godot] Removes unnecessary files and comments.
Additionally, CI builds were failing due to the commit where SpineSkin
had an init() method added, but this caused Godot 3.x builds to fail.

Our formatter was also run, so it should no longer fail the format
check.
2025-12-15 18:12:36 -04:00
Luke Ingram
52b114d18a [godot] Updates Vulkan SDK to newest minimum version available 2025-12-15 16:00:42 -04:00
Luke Ingram
b6d76309f3 [godot] Addresses #2899, #2980, #2985
Addresses the loader/saver registration issue in #2899.

Additionally, makes it such that you can adjust the SpineSkeletonData in
the inspector without crashes. This appears to have been caused by a
dangling pointer.

Finally, double-clicking on JSON in the inspector opens the text editor
and does not crash the Godot editor.
2025-12-11 23:43:40 -04:00
Davide Tantillo
1fabdd3d8e [ts] Release 4.2.96 2025-12-11 12:30:53 +01:00
Davide Tantillo
6c64b2fba3 Avoid crash if batchableSpineSlot is undefined (it shouldn't be undefined). See #2991. 2025-12-11 12:22:58 +01:00
Harald Csaszar
bb228f9b64 [unity] Fixed SkeletonGraphic Cull transparent mesh on additive submesh renderer. Closes #2994. 2025-12-10 16:43:59 +01:00
Harald Csaszar
f099aa0638 [unity] Fixed additional URP shaders compile errors on Unity 6.3 on some configurations. See #2993. 2025-12-09 21:52:57 +01:00
Harald Csaszar
f5c53d3bc6 [unity] Fixed URP shaders compile error on Unity 6.3. Closes #2993. 2025-12-09 21:09:38 +01:00
Harald Csaszar
51a9e34f23 [unity] Fix SkeletonSubmeshGraphic issue with multiple IMaterialModifier components. Closes #2966. 2025-12-04 22:05:22 +01:00
Luke Ingram
a554d4f1b0 [c] Fixes and closes #2990
Verified that this change is correct using the latest versions of
spine-c and spine-sfml
2025-12-02 22:25:27 -04:00
Davide Tantillo
eda6ed40bb [haxe] Release 4.2.9 2025-11-28 09:25:03 +01:00
Davide Tantillo
0dfaede396 [haxe] Backport 69279957: Removed lime dependency from Skeleton.hx. 2025-11-28 09:21:40 +01:00
Davide Tantillo
f173e85667 [haxe] Release 4.2.8 2025-11-27 15:11:41 +01:00
Davide Tantillo
264ac86456 [haxe] Apply fixes to target hl (HashLink). 2025-11-27 15:05:28 +01:00
Mario Zechner
67d38adebf [godot] Build against latest 4.x only 2025-11-19 17:47:01 +01:00
Mario Zechner
9f7d61c7a2 [godo] Only build against latest Godot 4.x for extension, fix NDK version 2025-11-19 17:31:29 +01:00
Mario Zechner
0fb8ba242c [godot] Fix version includes for extension 2025-11-19 17:06:44 +01:00
Mario Zechner
197fc0049d [godot] Update Godot 3.6 build to use 3.6.2-stable 2025-11-19 10:48:33 +01:00
Mario Zechner
ab3600df19 [godot] Update Emscripten SDK version to 4.0.20 for GitHub Actions workflows 2025-11-19 09:33:43 +01:00
Mario Zechner
43ce791931 [godot] Fix 4.5 compat, build 4.5.1 and 4.4.1 on GH 2025-11-17 15:10:20 +01:00
Byeong Gwan
880f3c59f5
[ios] backport from 4.3-beta: expose explict module for c & cpp (#2975)
* [ios] backport from 4.3-beta: expose explict module for c & cpp

- standard user can import spine-c based api as usual
- dedicated swift/cpp user can import cpp interface with explict import and enabling cpp interp
- objective-c user can import cpp using objective-c++

* [ios] expose `SpineCppLite` so that the library user can build there own runtime based on swift package => macOS, spriteKit texture
2025-11-17 15:01:21 +01:00
Mario Zechner
02dec24ab7 [godot] Additional Godot 4.5 compatibility fixes
Fixes additional compatibility issues found when building against Godot 4.5:

1. String::parse_utf8() deprecated and removed in Godot 4.5
   - Replaced with String::utf8() for Godot 4.5+
   - Added version guards to maintain compatibility with older versions
   - Affected files: SpineAnimation, SpineAnimationTrack, SpineAtlasResource,
     SpineAttachment, SpineBoneData, SpineConstraintData, SpineEventData,
     SpineSkeletonDataResource, SpineSkin, SpineSlotData, SpineSprite

2. Editor header file locations changed in Godot 4.5
   - editor/editor_file_system.h -> editor/file_system/editor_file_system.h
   - editor/plugins/animation_*_editor_plugin.h -> editor/animation/animation_*_editor_plugin.h
   - Added version guards for correct include paths
   - Affected files: SpineAtlasResource, SpineAnimationTrack

These changes ensure spine-godot builds successfully with both Godot 4.5 and earlier versions.
2025-11-17 14:49:40 +01:00
Mario Zechner
938c72fa8f [godot] Backport Godot 4.5 compatibility fixes from 4.3-beta
Backported three commits from 4.3-beta branch:
- cc12304ba: Adds TOOLS_ENABLED guards for editor includes
- e063bae54: Adds version macro compatibility for deprecated=no builds (module)
- 3ffea502e: Adds version macro compatibility for deprecated=no builds (extension)

Changes:
1. SpineCommon.h:
   - Added #include "core/version_generated.gen.h"
   - Added VERSION_MAJOR/MINOR/PATCH macro fallbacks for both module and extension builds
   - These macros are needed when building with deprecated=no in Godot 4.5+

2. SpineSkeletonDataResource.cpp and SpineSprite.cpp:
   - Wrapped editor_interface.h includes with TOOLS_ENABLED guards
   - Required for building export templates (non-editor builds) in Godot 4.5+

This ensures spine-godot compiles correctly with Godot 4.5 in all build configurations.
2025-11-17 14:36:48 +01:00
Luke Ingram
a6c9cc2225 [godot] Updates the min version of the Mac Vulkan SDK to 1.3.268.0.
CI builds were broken because curl was attempting to download an
unavailable version of the Mac Vulkan SDK.
2025-11-13 14:59:45 -04:00
Luke Ingram
6f88168dcd [cpp] Fixes and closes #2886.
The user submitted code that fixes the incorrect tinting on spine-cpp
4.2. I tested this fix using spine-glfw to confirm the existence of the
issue and the fix.
2025-11-13 14:28:50 -04:00
Vladimir
d698e53e3e
Add Godot Spine Skin init method to binds (#2874) 2025-11-06 13:53:10 +01:00
Byeong Gwan
e4eff7d41d
[cpp-lite] wrong type casting inside drawable dispose (#2884) 2025-11-06 13:52:09 +01:00
Davide Tantillo
95ff960cf5 [ts] Release 4.2.95 2025-10-27 17:25:25 +01:00
Aomsir
4f3f5bed15
[ts][phaser-v3][phaser-v4] Fix atlas page url duplication when using file:// + baseURL (#2961)
* fix(loader): use file.url instead of file.src for atlas basePath (align with Phaser #6642)

* [ts][phaser] Fallback to src in atlas page loading.

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-10-27 17:21:11 +01:00
Harald Csaszar
4d0178dcbe [unity] Added Fog material toggle to "Universal Render Pipeline/Spine/Skeleton Lit" shader defaulting to disabled. See #2959. 2025-10-23 11:52:40 +02:00
Harald Csaszar
49abbdc458 [unity] Fixed "Universal Render Pipeline/Spine/Skeleton Lit" shader ignoring fog. Closes #2959. 2025-10-23 11:52:20 +02:00
Harald Csaszar
990ff34747 [unity] Fixed one more URP shader compile error related to depth normal pass on latest Unity 2022.3. See #2957. 2025-10-22 21:06:52 +02:00
Harald Csaszar
e79c7acc00 [unity] Fixed another URP shader compile error on latest Unity 2022.3. See #2957. 2025-10-22 20:19:06 +02:00
Harald Csaszar
1942455d4f [unity] Fixed URP shader compile error in build on latest Unity 2022.3. Closes #2957. 2025-10-21 21:09:12 +02:00
Davide Tantillo
0d32fbcb67 [ts] Release 4.2.94 2025-10-20 17:52:16 +02:00
Davide Tantillo
4bd297fb4e [ts][threejs] Prefill normals at construction; they are always constant and perpendicular. See #2952. 2025-10-20 17:31:05 +02:00
Davide Tantillo
2a87e965c2 [ts][threejs] Prevent recalculating normals each frame. Close #2952. 2025-10-20 16:34:45 +02:00
Davide Tantillo
639a76b3fa [haxe] Remove superfluous OpenFL imports. Close #2917 2025-10-15 11:37:03 +02:00
Luke Ingram
2a25ca33d6 [c][cpp][sdl] Fixes, closes #2943.
The reason that the chibi-stickers project wouldn't load correctly was
because there was multiply blending used on the glasses-shadow slot.

This has been corrected so that skeletons will load correctly, and
tested using this project and the celestial-circus Spine project.
2025-10-13 13:59:58 -04:00
Byeong Gwan
3653540558
[cpp] fix wrong RGB2 creation using json (#2885) 2025-10-01 15:43:33 +02:00
Davide Tantillo
fb6624fe8e [ts] Fixed AssetManager dispose invalidating textures too early. Close #2905. 2025-09-29 18:18:29 +02:00
Davide Tantillo
6bf960d695 [ts][webcomponent] Fix removeWidget removing all widgets after given one. 2025-09-29 18:18:19 +02:00
Davide Tantillo
d43eaaac2d [ts] Release 4.2.93 2025-09-29 11:44:39 +02:00
Davide Tantillo
6cfe4cb1a5 [ts] Fix webglcontextlost/restored not correctly bound. Close #2938. 2025-09-29 11:41:55 +02:00
Harald Csaszar
bf26fb9683 [unity] Minor: Fixed incorrect param documentation. Closes #2937. 2025-09-26 10:19:39 +02:00
Davide Tantillo
b9494c2624 [formatters] Updated readme for clang-format. 2025-09-25 09:27:26 +02:00
Luke Ingram
d567a19101 [c] Resolves broken CI.
Correctly uses clang-format 13.0.1.
2025-09-24 14:29:48 -04:00