173 Commits

Author SHA1 Message Date
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
ef10e522a8 Include material.h in SpineSlotNode.h for Godot 4.6+ template builds 2026-02-27 12:49:44 +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
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
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
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +02:00
Mario Zechner
0c6c0a2a7b Formatting 2025-05-26 15:24:01 +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
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
Mario Zechner
56cd91047c [godot] Fix more handling of CJK in names, see #2788 2025-04-18 14:47:00 +02:00
Mario Zechner
88f69fb2a6 [godot] Fix handling of CJK in names, see #2788 2025-04-18 14:33:10 +02:00
Mario Zechner
3cc43389b9 Formatting 2025-04-10 12:07:08 +02:00
Mario Zechner
fa30e51232 [godot] Fix preprocessor constructs 2025-04-10 12:03:27 +02:00
Mario Zechner
c5c71da28c [godot] Fix 3.5 build 2025-04-10 11:31:32 +02:00
Mario Zechner
a0d28956d2 [godot] Fixes for 4.4, see #2801 2025-04-08 13:51:16 +02:00
Nathan Sweet
f08d58dc98 License header update. 2025-04-05 13:42:13 -04:00
Mario Zechner
268d0e8f61 [godot] Remove print_lines. 2025-02-26 14:15:24 +01:00
Mario Zechner
e0c4cfffec [godot] Disable editor FS access in template builds. 2025-02-26 14:14:09 +01:00
Mario Zechner
42fea00bb0 Formatting 2025-02-26 13:39:58 +01:00
Mario Zechner
15cac5f9fc [godot] Closes #2747, rewrote the way we sync on-disk asset changes 2025-02-26 13:36:10 +01:00
Ferdy's Lab
5d23a7df19
fix godot crash when Visible Collision Shapes is enabled (#2761) 2025-02-25 10:23:19 +01:00
Mario Zechner
b610bd7b7a [godot] Fixes #2670, animation tracks must be set to discrete, so we only get a single name/loop change for each key. 2024-11-06 16:11:44 +01:00
Mario Zechner
eef05281fd [godot] Do not register editor types for template extension builds. 2024-10-30 10:45:21 +01: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
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
13127aa587 [godot] Fix module build for Godot 4.x 2024-10-09 11:13:37 +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