148 Commits

Author SHA1 Message Date
Luke Ingram
b0890856cd [godot] Port of 6a08383
Adds specular map support to spine-godot on the Spine Runtimes 4.2 branch.
This was tested by porting the changes and compiling the spine-godot editor (version 4.3-stable) from source.
2025-05-28 23:23:56 -04:00
Mario Zechner
97d49b37b7 License header update 2025-05-26 13:24:06 +02: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
2712cffc00 [godot] Closes #2832, SpineSprite.set_time_scale/get_time_scale 2025-04-30 14:01:50 +02: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
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
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
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