517 Commits

Author SHA1 Message Date
Mario Zechner
1d5a11acef [godot] Port AnimationState additive/hold rework, remove MixBlend/MixDirection, Skin placeholder rename
- Remove SpineConstant::MixBlend and SpineConstant::MixDirection enums
- Replace SpineTrackEntry hold_previous/mix_blend with additive
- Replace SpineAnimationTrack hold_previous/mix_blend with additive
- Update SpineTimeline::apply and SpineAnimation::apply signatures
- Update SpineSkin to use _placeholderName
- Sync spine-cpp copy from spine-cpp root
2026-03-24 21:26:41 +01:00
Mario Zechner
f20ad9ac56 [runtimes] Update examples for 4.3.44-beta exports 2026-03-16 18:38:36 +01:00
Mario Zechner
3afca98bbb [godot] Update to new Sequence API
- Use sequence.resolveIndex(pose) to get current frame index
- Use sequence.getOffsets(index) for RegionAttachment computeWorldVertices
- Use sequence.getRegion(index) for texture lookup
- Use sequence.getUVs(index) for UV data
2026-03-14 15:10:57 +01:00
Mario Zechner
620b306008 [runtimes] Re-export examples with Spine 4.3.40-beta
Updates .json and .skel files to current binary format.
Adds [runtimes] prefix to AGENTS.md for repo-wide changes.
Adds diff.ts pi extension.
2026-03-10 15:32:51 +01:00
Mario Zechner
9babc86c59 Fix iOS template build: handle ios_xcode renamed to apple_embedded_xcode in Godot 4.6 2026-02-27 19:02:31 +01:00
Mario Zechner
b2f1e49b3f Disable D3D12 on Windows Godot builds instead of installing SDK 2026-02-27 13:04:27 +01:00
Mario Zechner
ef10e522a8 Include material.h in SpineSlotNode.h for Godot 4.6+ template builds 2026-02-27 12:49:44 +01:00
Mario Zechner
a558c44ef4 Install D3D12 SDK on Windows before Godot builds 2026-02-27 12:02:05 +01:00
Mario Zechner
17b617d808 [godot] update extension CI to 4.6.1 and fallback godot-cpp to master 2026-02-27 11:53:19 +01:00
Mario Zechner
fbcbdcd069 spine-godot: add Godot 4.6 API compatibility guards 2026-02-27 11:53:19 +01:00
Mario Zechner
d050ae6682 [godot] Port PR #2996 fixes and fix GDExtension shutdown crash
Port from 4.2 branch (PR #2996):
- Fix dangling pointer in SpineSkeletonDataResource destructor by using
  ObjectID validation instead of direct EditorFileSystem access
- Register format loaders/savers at CORE level for GDExtension to fix
  loader/saver registration issues (#2899)

Additional fix for GDExtension:
- Fix crash on editor shutdown by properly removing import/inspector
  plugins in NOTIFICATION_PREDELETE before the extension is unloaded
2025-12-16 15:18:12 +01:00
Mario Zechner
997ecf2a79 [godot] Fix iOS template build for VulkanSDK 1.4.328.1
- Update MoltenVK.xcframework path for new SDK structure
- VulkanSDK 1.4.328.1 moved MoltenVK from root to macOS/lib/
- Fixes build error: cp: /Users/runner/VulkanSDK/1.3.250.1/MoltenVK/MoltenVK.xcframework: No such file or directory
- Tested locally with successful 300MB ios.zip generation
2025-11-20 11:48:25 +01:00
Mario Zechner
18f792543e [godot] Fix attempt for iOS patch 2025-11-19 13:43:08 +01:00
Mario Zechner
2af04b6eee [godot] Fix iOS build error with Vulkan headers and C++ modules
Adds compiler flag -Wno-error=module-import-in-extern-c to suppress compilation errors when building for iOS with newer Xcode versions. The Vulkan headers include stdint.h inside extern "C" blocks, which conflicts with C++ modules.

The fix is applied via a patch file during setup.sh execution.
2025-11-19 09:45:43 +01:00
Mario Zechner
cac3383d4f [godot] Fix compile_commands.json generation on Ubuntu without X11
The setup.sh script was always trying to generate compile_commands.json
for IDE integration, which triggered SCons platform auto-detection. On
Ubuntu runners without X11 libraries (used for Android/Web builds),
this caused the build to fail.

Changes:
- Only generate compile_commands.json in dev mode (CI uses dev=false)
- Explicitly specify the platform parameter for SCons
- On Linux, check if X11 libraries are available before attempting generation
- Skip generation gracefully if X11 is not available

This fixes the Android and Web template builds in GitHub Actions.
2025-11-17 14:26:46 +01:00
Mario Zechner
e9ecd36c53 [godot] Fix type registration, extension example assets 2025-11-10 17:49:41 +01:00
Mario Zechner
be2e8ff514 Formatting 2025-11-10 15:43:02 +01:00
Mario Zechner
3ffea502e7 [godot] Fix version macros for extension as well, see #2958 2025-11-06 13:28:14 +01:00
Mario Zechner
e063bae54d [godot] Closes #2958, compatibitlity with deprecated=no 2025-11-06 13:22:37 +01:00
Mario Zechner
ff9be77a4e [godot] Fix Vulkan installer script 2025-11-06 11:56:46 +01:00
Luke Ingram
cc12304bac [godot] Adds guards needed to build 4.5-stable export templates 2025-10-01 19:00:33 -04:00
Luke Ingram
d3b62a2a73 [godot] Godot 3.x does not have support for specular maps 2025-10-01 13:51:12 -04:00
Luke Ingram
2f48bf16e2 [godot] Formatting fixes per latest format.sh 2025-10-01 11:35:20 -04:00
Mario Zechner
eccc04fc11 [godot] Fix friend classes in SpineSkeleton 2025-10-01 11:26:27 -04:00
Luke Ingram
73a38df355 [godot] Current WIP to get Spine-Godot working. 2025-10-01 09:49:23 -04:00
Mario Zechner
e5e319a4a7 [godot] Add missing methods 2025-10-01 15:24:00 +02:00
Mario Zechner
93399d104a [godot] Update GDScript docs 2025-10-01 15:23:05 +02:00
Mario Zechner
7f1daa1607 [godot] Expose slider, fix new/removed properties on Spine object wrappers. 2025-09-29 19:08:13 +02:00
Mario Zechner
83ba44ed37 Formatting 2025-09-29 17:20:26 +02:00
Mario Zechner
a3bfbf15c8 Formatting 2025-09-29 16:17:11 +02:00
Mario Zechner
28f93e993a [godot] More 4.3 porting and restructuring WIP 2025-09-29 16:11:38 +02:00
Mario Zechner
ef7bd48e66 [godot] WIP update to 4.3 spine-cpp 2025-09-23 18:35:16 +02:00
Mario Zechner
c6495719ca [c][cpp][flutter][ios] Make attachment in Skin.setAttachment optional 2025-09-23 17:07:03 +02:00
Mario Zechner
98a39e9079 [godot] Fix build for new spine-cpp structure 2025-09-15 18:04:30 +02:00
Mario Zechner
b96e7c2461 [assets] Re-exported and distributed to runtimes 2025-09-11 01:09:23 +02:00
Mario Zechner
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +02:00
Nathan Sweet
f4f1ea1fd9 Ran: examples/export/runtimes.sh 2025-06-20 15:56:02 -04:00
Mario Zechner
0c6c0a2a7b Formatting 2025-05-26 15:24:01 +02:00
Mario Zechner
8b5adfadb6 Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/ConstraintData.java
#	spine-ts/spine-pixi-v8/src/index.ts
#	spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/LICENSE.md
2025-05-26 13:54:02 +02:00
Mario Zechner
97d49b37b7 License header update 2025-05-26 13:24:06 +02:00
Mario Zechner
c9456593db [godot] Closes #2861, force min ios version 12.0 via compiler/linker flag 2025-05-23 14:02:40 +02:00
Luke Ingram
6a08383460
[godot] Adds specular map support (#2850) 2025-05-16 09:28:21 +02:00
Nathan Sweet
7be6dac44a Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-ts/package.json
#	spine-unity/Assets/Spine/package.json
2025-05-09 17:05:41 -04:00
Mario Zechner
5b2d479d4b [godot] Fix loading of atlas page PNGs for non-resource paths (user://, absolute). Closes #2814 2025-05-06 16:11:03 +02:00
Mario Zechner
4f5e990b5f [godot] Fetch major.minor from git branch name. 2025-05-05 14:26:35 +02:00
Mario Zechner
15b96b3ea8 Merge branch 'apple-fixes' of https://github.com/mihe/spine-runtimes into mihe-apple-fixes 2025-05-05 13:35:49 +02:00
Nathan Sweet
020cd51b96 Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-unity/Assets/Spine/package.json
2025-04-30 17:29:49 -04:00
Mario Zechner
2712cffc00 [godot] Closes #2832, SpineSprite.set_time_scale/get_time_scale 2025-04-30 14:01:50 +02:00
Nathan Sweet
dafafca942 Merge branch '4.2' into 4.3-beta-sliders
# Conflicts:
#	spine-ts/package.json
2025-04-23 11:59:55 -04:00
Mario Zechner
76b572e2bf [godot] Fix UTF8 handling in texture atlas parsing, closes #2788 2025-04-18 15:30:26 +02:00