387 Commits

Author SHA1 Message Date
badlogic
a557db3a54 [ue] Closes #2257, import uses null attachment loader, leading to crash for mesh attachments. Also fixes atlas page fetch in renderer. 2023-02-27 12:50:21 +01:00
Mario Zechner
fbb0d0d41f [cpp] Closes #2252, add accessors for polygons and bounding boxes to SkeletonBounds. 2023-02-20 11:32:33 +01:00
Mario Zechner
96c0842021 [cpp] Backport of some 4.2 changes to enable Flutter runtime in 4.1 2023-02-17 14:25:41 +01:00
Mario Zechner
55b6f43d9b [godot] Added mesh based renderer, slower than cavvas_item_add_triangle_array due to no batching. 2023-02-17 11:17:15 +01:00
Mario Zechner
bcf268462d [ue] Closes #2251, fix shadowed local var. 2023-02-17 07:42:57 +01:00
Mario Zechner
0042015e7c [spine-cpp] Closes #2225, incorrect integer division when reading AlphaTimeline frames. 2023-01-26 15:40:04 +01:00
Mario Zechner
9ece84dc85 [phaser] Loading and caching of skeleton data, atlas, textures, creation of skeletons, animation state in game object.
# Conflicts:
#	spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
#	spine-flutter/src/spine_flutter.cpp
2022-12-27 11:42:56 +01:00
Luke Ingram
38ae6f886c [c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58 2022-11-30 13:34:20 -04:00
Mario Zechner
11d0a86d40 Formatting. 2022-11-29 09:10:34 +01:00
Mario Zechner
d525e42479 [cpp] Reference attachments in Skin::addSkin(), closes #2203, closes #2202. 2022-11-29 09:09:36 +01:00
Mario Zechner
3493de7fe8 Formatting 2022-10-28 10:40:38 +02:00
Mario Zechner
b1d5e7727d [cpp] Fix parsing of dark colors in skeleton binary. Closes #2170. 2022-10-14 12:57:01 +02:00
Mario Zechner
3f5e00109c [cpp] Pass ids by reference, closes #2177 2022-10-14 12:07:04 +02:00
Mario Zechner
88515ec1a9 [c][cpp] Check if slot attachment is NULL when applying sequence timeline. 2022-10-07 12:24:07 +02:00
Mario Zechner
669af9f6bb Formatting. 2022-09-15 08:37:55 +02:00
Mario Zechner
531e256d6d [c][cpp][sfml] Fixes #2154 2022-09-15 07:58:12 +02:00
Pol
b0a609f027
Corrected Tint black (#2122)
Tint black wasn't working correctly because the red channelwas discarded by error, replacing it by the green channel.
2022-08-03 18:31:40 +02:00
Mario Zechner
0860331e99 [cpp] Format fixes. 2022-07-25 15:21:38 +02:00
Mario Zechner
4bba3f1822 Merge branch '4.0' into 4.1 2022-07-18 14:10:10 +02:00
Toru Hisai
85af0f6580
prevent a crash when a skin has no attachments. (#2114) 2022-07-18 14:09:12 +02:00
Mario Zechner
68b59271bb [godot] Backport to 4.1 2022-07-18 10:27:42 +02:00
Mario Zechner
ca75d3605e [c][cpp] Port of 4efd63f89cb995cbe4f30358d268a9d0eaf0c9be and 81baef0b5bb181376d15b0208697db8dabce095e 2022-06-20 15:39:33 +02:00
Mario Zechner
53f69d0f48 [cpp] Removed VertexEffect, see #2076 2022-05-30 14:02:09 +02:00
Mario Zechner
3b57b39c47 Merge branch '4.0' into 4.1-beta 2022-04-07 08:30:38 +02:00
Mario Zechner
4ec3290b98 [cpp] Fixed JSON parsing of PathConstraint spacing mode, closes #2065. 2022-04-07 08:30:23 +02:00
Mario Zechner
2022713bd2 [c][cpp] Formatter pass. 2022-03-25 13:31:58 +01:00
Mario Zechner
7cf42c814b [cpp] Fix compiler warnings on Clang. 2022-03-25 13:22:45 +01:00
badlogic
1480250bd3 Merge branch '4.1-beta' of https://github.com/esotericsoftware/spine-runtimes into 4.1-beta 2022-03-25 12:33:01 +01:00
badlogic
6ff8b8d415 [ue4][cpp] Fix TextureFilter name conflict in UE4 unity builds
We renamed TextureFilter to SpineTextureFilter in UE4 builds to resolve the name collision with UE4's TextureFilter.
2022-03-25 12:32:44 +01:00
badlogic
8910c458e8 [ue4][cpp] Switched to IWYU build for much improved rebuild times.
Cleaned up spine-cpp and removed UE4 specific code.
2022-03-25 12:20:57 +01:00
Harald Csaszar
e52d4977df Merge branch '4.0' into 4.1-beta 2022-03-24 17:53:41 +01:00
Yinqiang Zhu
763204a2b6
Fix compiler warning (#2038)
Fix compiler warning: 'inconsistent-missing-override'
2022-03-24 14:38:54 +01:00
Mario Zechner
0e122e1877 [cpp] Return error if skeleton version doesn't match runtime version. See #1998 2022-03-22 13:46:08 +01:00
Mario Zechner
17ad70740e [cpp] Fix parsing of SequenceTimeline from JSON
lastDelay was never set.
2022-03-11 18:30:05 +01:00
Mario Zechner
b33e66e1d2 Merge branch '4.0' into 4.1-beta 2022-03-11 18:07:46 +01:00
Mario Zechner
f4a92fbfae [c] Fixes #2041, adds sanitizer support via Cmake flag SPINE_SANITIZER=TRUE 2022-03-11 18:07:30 +01:00
Mario Zechner
0d237b1529 [c] Port sequence timeline loading to SkeletonBinary
Deform timeline parsing not working.
2022-02-04 13:21:44 +01:00
Mario Zechner
ec93dbac89 [cpp] Fix formatting. 2022-02-02 12:40:00 +01:00
Mario Zechner
ffb9e75b09 [c][cpp] Port of shortestRotation, see #2027 2022-02-02 12:02:43 +01:00
Mario Zechner
504f52a5a7 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-as3/spine-as3/src/spine/animation/ScaleTimeline.as
#	spine-as3/spine-as3/src/spine/animation/ScaleXTimeline.as
#	spine-as3/spine-as3/src/spine/animation/ScaleYTimeline.as
#	spine-lua/spine-lua/Animation.lua
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-01-27 18:42:14 +01:00
Mario Zechner
65c62bff06 [cpp] Ported scale mixing fix, see #2028. 2022-01-26 20:37:29 +01:00
Mario Zechner
65a12c6f8e [c] More porting of sequences. 2021-12-29 22:26:34 +01:00
Mario Zechner
1976a3e6ca [cpp] Fix sequence timeline not setting renderer object correctly., formatting 2021-12-22 15:30:21 +01:00
Mario Zechner
1cba329685 [cpp] Fix loading of mesh attachments 2021-12-22 15:17:12 +01:00
Mario Zechner
9ac6f3dcc7 [cpp] Support sequence (timelines) in SkeletonJson 2021-12-17 16:41:40 +01:00
Mario Zechner
9fda6dcd3b [cpp] Sequence and SequenceTimeline support in SkeletonBinary. 2021-12-16 17:14:52 +01:00
Mario Zechner
94d218d0c7 [cpp] Sequence timeline. 2021-12-15 16:34:31 +01:00
Mario Zechner
bb81f31171 [cpp] Fix formatting. 2021-12-15 16:30:29 +01:00
Mario Zechner
1ac6c6bd35 [cpp] Initial port of sequences
Loaders require modifications, timeline needs to be added.
2021-11-17 15:32:35 +01:00
Harald Csaszar
f2cf39cfb6 Merge branch '4.0' into 4.1-beta 2021-11-03 19:52:46 +01:00