172 Commits

Author SHA1 Message Date
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
Mario Zechner
dbf0db5c10 [godot] Expose physics constraints, closes #2612 2024-10-02 16:47:53 +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
fb1cd5e161 [godot] Fix version check. 2024-10-01 14:19:35 +02:00
Mario Zechner
c58d4c7522 [godot] Fix compatibility with Godot 3.6, make it default build for 3.x. Closes #2647 2024-10-01 13:45:32 +02:00
Mario Zechner
fb3d8af281 [godot] Fix builds < 4.3 2024-08-19 14:59:39 +02:00
Mario Zechner
f1956d9496 Formatting. 2024-08-19 14:01:33 +02:00
Mario Zechner
f3ded1ed1a [godot] Godot 4.3 updates 2024-08-19 14:01:08 +02:00
indubitablement2
cd8dadc02a
Update SpineAnimationTrack.cpp (#2578)
Fix: Invalid PROPERTY_HINT_RANGE with hint "0,256,0": Step cannot be 0.
2024-07-24 13:28:24 +02:00
Mario Zechner
1101e71ec3 GDExtension support, heavy WIP 2024-07-05 19:05:42 +02:00
Mario Zechner
5abed8a7f6 [godot] Closes #2489, fix reference count of SpineAttachments
The SpineAttachment destructor would dereference the spine::Attachment. However, the set_spine_object() call doesn't increase the reference count. This can lead to the attachment being deallocated too early.
2024-05-21 13:15:46 +02:00
Mario Zechner
dc577acc8d [godot] Take clipping into account in Skeleton.get_bounds() 2024-05-21 12:48:30 +02:00
Mario Zechner
25d55851e9 [godot] Closees #2530, don't use preview skin/animation at runtime 2024-05-21 11:37:06 +02:00
Mario Zechner
5a462e9e21 [godot] Closes #2516, memdelete instead of memfree on Control 2024-05-03 12:44:30 +02:00
Mario Zechner
a228adf684 [godot] Should close #2514, needs testing. 2024-05-02 16:52:48 +02:00
Jason Knight
07f299434d Dont do init transform if you dont need to. (#2495) 2024-04-30 10:44:14 +02:00
Mario Zechner
de6b411007 Formatting 2024-04-16 17:21:36 +02:00
Mario Zechner
eecca2bdfa [godot] Add SkeletonData::set_reference_scale/get_reference_scale 2024-04-04 16:39:32 +02:00
Mario Zechner
236bc61519 [godot] Fix incorrect animation track setters/getters 2024-04-04 15:58:14 +02:00
Mario Zechner
e623140c99 [godot] Port 4.2 changes and expose in GDScript/C# 2024-04-04 15:26:48 +02:00
Mario Zechner
f68f5437d9 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-pixi/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2024-01-16 12:20:32 +01:00
Mario Zechner
068a2bb6d0 [godot] Closes #2447, expose bone and sprite in SpineBoneNode 2024-01-12 13:10:57 +01:00
Mario Zechner
8878437c38 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/index.html
#	spine-ts/spine-player/src/PlayerEditor.ts
2023-12-08 01:04:14 +01:00
Mario Zechner
38fa8800f3 [godot] Fix for 4.0/4.1, different API. 2023-12-06 17:29:17 +01:00
Mario Zechner
0d282215bc [godot] Fix compilation error with 4.2-stable 2023-12-06 17:16:47 +01:00
Harald Csaszar
bba61a9a09 Merge branch '4.1' into 4.2-beta 2023-11-21 14:35:50 +01:00
Mario Zechner
54706aeea7 [godot] Closes #2421, fix check whether mesh indices changed in between frames. 2023-11-17 19:30:16 +01:00
Harald Csaszar
9999ea82ca Merge branch '4.1' into 4.2-beta 2023-10-06 18:47:28 +02:00
Mario Zechner
f5caeacf0c [godot] Fix compilation errors with 3.5.3, fix const correctness. 2023-10-06 11:15:21 +02:00
Mario Zechner
5f6b637d53 [godot] Make SpineAtlasResource::clear_native_data const. 2023-10-06 10:50:15 +02:00
Mario Zechner
b3e8821966 [godot] Fix const assignments in SpineAtlasResource::copy_from() 2023-10-05 20:51:50 +02:00
Mario Zechner
e8e0c29aa7 Merge branch '4.1' into 4.2-beta 2023-10-05 15:47:07 +02:00
Mario Zechner
b70aa0c9fb [godot] Closes #2387, reimport of skeleton and atlas files is reflect by referencing objects. 2023-10-05 15:46:58 +02:00
Mario Zechner
5c0bb6e36b [godot] Fix error message when deleting a mix in a skeleton data asset. 2023-10-05 13:18:14 +02:00
Mario Zechner
961a865343 Merge branch '4.1' into 4.2-beta 2023-09-22 15:41:57 +02:00
Mario Zechner
57388824ca [godot] Closes #2372, fix UTF-8 texture atlas loading. 2023-09-22 15:41:36 +02:00
Mario Zechner
fb11c02be8 [godot] Closes #2373
The spine-godot renderer made assumptions about index data that didn't hold in case of clipping.
2023-09-22 14:42:05 +02:00
Mario Zechner
fa1fb09cb2 [godot] Closes #2381, regression in SpineSlot::get_bone() 2023-09-22 11:15:25 +02:00
badlogic
c99535ed85 Merge branch '4.1' into 4.2-beta 2023-09-21 18:33:05 +02:00
badlogic
d9b640254a [godot] Improve debug renderer. 2023-09-20 14:43:58 +02:00
Mario Zechner
db914b023f Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-pixi/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2023-09-05 22:45:21 +02:00
Mario Zechner
3acbc2ab7a Formatting 2023-09-05 22:36:04 +02:00