425 Commits

Author SHA1 Message Date
Mario Zechner
4a66ced952 Merge branch '4.1' into 4.2-beta 2023-02-27 13:44:34 +01:00
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
fc2354dede Merge branch '4.1' into 4.2-beta 2023-02-20 11:32:43 +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
329f5b404f Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-cocos2dx/spine-cocos2dx/src/spine/SkeletonRenderer.cpp
2023-02-17 14:28:05 +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
9d2c16f388 [cpp] Fix compilation error in SkeletonBinary.cpp after merge. 2023-02-17 10:33:07 +01:00
Mario Zechner
4f3fcc5ed0 Merge branch '4.1' into 4.2-beta 2023-02-17 07:43:08 +01:00
Mario Zechner
bcf268462d [ue] Closes #2251, fix shadowed local var. 2023-02-17 07:42:57 +01:00
Mario Zechner
54b2932098 [flutter] Docs, add Bone.updateAppliedTransform(). 2023-02-08 11:50:06 +01:00
Mario Zechner
59d700ac3f Merge branch '4.1' into 4.2-beta 2023-01-26 15:40:20 +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
e9c68326de [cpp][flutter] Fix formatting. 2023-01-16 15:02:43 +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
Harald Csaszar
603c024791 Merge branch '4.1' into 4.2-beta 2022-11-30 18:41:39 +01:00
Luke Ingram
38ae6f886c [c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58 2022-11-30 13:34:20 -04:00
Mario Zechner
459f88c5a2 Merge branch '4.1' into 4.2-beta 2022-11-29 09:10:51 +01: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
b65fef5b7a [cpp] Fix incorrect cast to VertexAttachment in SkeletonBinary 2022-11-24 06:21:19 +01:00
Mario Zechner
7c73988b42 [flutter] Add formatter pass. 2022-11-23 06:29:03 +01:00
Mario Zechner
934e374724 [flutter] Add web_ffi fork, fix .wasm/.js size
The fork is required as Emscripten produces a .wasm file that the upstream web_ffi can't parse correctly to extract exported symbols.
2022-11-20 22:18:39 +01:00
Mario Zechner
a66218cb14 [cpp] Initialize minX/minY correctly in Skeleton::getBounds 2022-11-17 19:10:38 +01:00
Mario Zechner
fc43e988d0 [cpp] Fix more warnings. 2022-11-03 16:56:14 +01:00
Mario Zechner
4a89b2b84d [cpp] Fix more warnings on latest Clang. 2022-11-03 16:52:22 +01:00
Mario Zechner
745d412d7d [cpp] Use snprintf in String. 2022-11-03 16:36:15 +01:00
Mario Zechner
a57f1b85b6 Formatting 2022-10-28 10:41:13 +02:00
Mario Zechner
42bce02619 Merge branch '4.1' into 4.2-beta 2022-10-28 10:40:54 +02:00
Mario Zechner
3493de7fe8 Formatting 2022-10-28 10:40:38 +02:00
Mario Zechner
2dd17f4228 Merge branch '4.1' into 4.2-beta 2022-10-14 12:57:12 +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
649744640c Merge branch '4.1' into 4.2-beta 2022-10-14 12:07:13 +02:00
Mario Zechner
3f5e00109c [cpp] Pass ids by reference, closes #2177 2022-10-14 12:07:04 +02:00
Mario Zechner
95487552dc Merge branch '4.1' into 4.2-beta 2022-10-07 12:24:17 +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
6d4f2c2c1b [cpp] Port of commit 3ea4f66. AnimationState, fixed rotation mix when direction changes. See #2158. 2022-10-06 16:29:53 +02:00
Mario Zechner
c590944a51 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-cocos2dx/README.md
#	spine-godot/spine_godot/SpineSprite.cpp
#	spine-sdl/src/spine-sdl-cpp.cpp
#	spine-sfml/cpp/src/spine/spine-sfml.cpp
2022-09-15 08:39:43 +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
Mario Zechner
52376a0a24 [c] Port of #2150 2022-09-12 12:43:42 +02:00
Mario Zechner
0827d88b7b [cpp] Port of #2150 2022-09-12 12:34:42 +02:00
Mario Zechner
8ffde33fa9 Formatting. 2022-09-09 19:36:50 +02:00
Mario Zechner
1a676c14fc [cpp][cocos2dx][sfml][sdl] Fix up runtimes according to renderer object system changes. 2022-09-09 10:40:34 +02:00
Mario Zechner
3d5075c7a4 [cpp] Refactor renderer object system
Attachments and AtlasPages no longer implement HasRendererObject. Instead, the TextureRegion provides the renderer object. This decouples everything from AtlasRegion, making substituting custom texture regions less error prone.
2022-09-09 10:21:58 +02:00
Mario Zechner
fa4c55067a [flutter][cpp] Refactor VertexAttachment to use ints for bones instead of size_t, wrap VertexAttachment. 2022-09-06 10:43:48 +02:00
Mario Zechner
e0611d7499 [flutter] Wrap PathConstraintData, PathConstraint 2022-09-05 16:38:39 +02:00
Mario Zechner
907f278325 [flutter] Wrap TransformConstraintData 2022-09-05 12:34:03 +02:00
Mario Zechner
2f4ab354ba [cpp] Add RTTI information for constraint data types. 2022-09-02 14:11:30 +02:00
Mario Zechner
d4ef1b7a35 Formatting pass. 2022-08-29 13:48:49 +02:00