6557 Commits

Author SHA1 Message Date
badlogic
9bcb5c16c4 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2021-05-27 17:41:08 +02:00
badlogic
5c1d4c4369 [ts][player] Made Player.setAnimation() public and added a loop parameter. See player example on how to manually trigger animations. 2021-05-27 17:40:13 +02:00
badlogic
e6a14ff532 [c] 4.0 porting, complete but with bugs. 2021-05-26 15:17:20 +02:00
Nathan Sweet
4f73fbbb39 [libgdx] Fixed applying a constraint reverting changes from other constraints.
Previously: When a bone in the update cache is updated, the local transform is used. This causes any applied transform to be lost, losing the pose from any previously applied constraints.

After this commit: Before processing the update cache, first all bones applied transform is set to the local transform. Next, when a bone in the update cache is updated, the applied transform is used. This keeps the pose from any previously applied constraints. Additionally, instead of using the `appliedValid` flag, the applied transform is always updated after making changes to the world transform.

Forum discussion:
http://esotericsoftware.com/forum/Editor-Parent-constraint-order-breaks-child-constraints-15774?p=69494#p69494
2021-05-25 13:12:55 -04:00
Harald Csaszar
bb239c326e Merge branch '3.8' into 4.0-beta 2021-05-25 17:25:58 +02:00
Harald Csaszar
fab2b6e4ce [unity] Hopefully fixed Spine Preferences textureSettingsReference setting changing between MacOS and Win. See #1895. 2021-05-25 17:22:08 +02:00
Nathan Sweet
c8f5d2f6dd Updated README and launch configuration for latest VS Code and download links. 2021-05-22 22:33:10 -04:00
Harald Csaszar
f0f52da3ad [unity] Fixed too high Mesh vertex count when multiple submeshes are used (in combination with clipping). Supported on Unity 2019.3+. Closes #1894. 2021-05-20 19:29:56 +02:00
badlogic
4f549341e3 Merge branch '4.0-beta' of https://github.com/esotericsoftware/spine-runtimes into 4.0-beta 2021-05-20 11:30:45 +02:00
badlogic
090f317602 [c] 4.0 porting, skeleton binary complete. 2021-05-20 11:30:34 +02:00
Harald Csaszar
49926fc32a Merge branch '3.8' into 4.0-beta 2021-05-19 17:57:50 +02:00
Harald Csaszar
844c614a8c [unity] Fixed error message on entering Play mode when AnimationReferenceAsset selected. Closes #1892. Fixed NullReferenceException from SkeletonDataPreview timeline bar on entering Play mode. Closes #1893. 2021-05-19 17:54:50 +02:00
badlogic
7a7a69592a [c] 4.0 porting, skeleton binary. 2021-05-19 12:31:40 +02:00
badlogic
34ccbce8fd [ts] Fix build artifacts after merge. 2021-05-18 12:00:10 +02:00
Harald Csaszar
646b2934bc Merge branch '3.8' into 4.0-beta
Note: the following files were resoluved using ours (4.0-beta state):
- spine-ts/build/spine-all.js.map
- spine-ts/build/spine-player.js.map
2021-05-18 11:37:44 +02:00
Harald Csaszar
68b862c4d8 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 20:52:19 +02:00
Harald Csaszar
01b436b4f9 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 19:59:51 +02:00
badlogic
20b39fd201 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2021-05-17 13:33:34 +02:00
badlogic
69647313ef [ts][player] Better error message serialization. 2021-05-17 13:33:25 +02:00
Harald Csaszar
af159db63a Merge branch '3.8' into 4.0-beta 2021-05-14 18:05:01 +02:00
Harald Csaszar
c950dff9aa [unity] Fixed blend mode materials not being generated upon first import. Closes #1891. 2021-05-14 18:04:01 +02:00
badlogic
5411717c1a [c] 4.0 porting, texture atlas parsing and key value storage in regions. 2021-05-12 15:18:39 +02:00
Harald Csaszar
7ee6b78da6 Merge branch '3.8' into 4.0-beta 2021-05-07 20:51:16 +02:00
Harald Csaszar
938a8c8369 [unity] Fixed SkeletonGraphic Mesh memory leak. Closes #1887. 2021-05-07 20:50:01 +02:00
badlogic
f94113e4db Merge branch '3.8' into 4.0-beta 2021-05-07 12:02:36 +02:00
badlogic
b17700f1a0 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2021-05-07 12:01:22 +02:00
badlogic
e59d6be170 [libgdx] Closes #1886, use PolygonSpriteBatch in simple tests. 2021-05-07 12:01:15 +02:00
Nathan Sweet
be5efc5fa7 [libgdx] Update version for JsonRollback. 2021-05-06 15:31:59 -07:00
badlogic
33780f6445 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2021-05-06 15:43:11 +02:00
badlogic
bef00617d7 [ts] Fix applying attachment timeline in AnimationState
AnimatinState.setAttachment was directly setting the slot.attachment field instead of calling the setter. This caused the deform array from a previous attachment to linger around and be applied to the current attachment incorrectly.
2021-05-06 15:42:58 +02:00
Harald Csaszar
c2c975921e [unity] Minor: Addition of 3.8 changelog entry to 4.0 section. 2021-04-30 18:06:14 +02:00
Harald Csaszar
40836e1917 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:06:14 +02:00
RH
fb3ca1702e Allow SkeletonBinary and SkeletonJson to own externally created AttachmentLoader (#1846) 2021-04-30 18:06:14 +02:00
Harald Csaszar
5cb54bdf9c [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5231b4f713 [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-30 18:06:14 +02:00
Harald Csaszar
700e316e57 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:02:37 +02:00
RH
63ef1938b9
Allow SkeletonBinary and SkeletonJson to own externally created AttachmentLoader (#1846) 2021-04-29 14:07:16 +02:00
Ivan Popelyshev
a28296f1dc
fix link (#1882) 2021-04-29 13:50:08 +02:00
Harald Csaszar
25d7f8266f [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-28 19:54:48 +02:00
badlogic
dd47866f35 [ts] New articacts including the mesh attachment fix. 2021-04-27 13:34:26 +02:00
Anton
a0ab3fe80c
BUGFIX: mesh attachment squashing (#1881) 2021-04-27 13:32:20 +02:00
Harald Csaszar
1e888db53a [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-22 11:45:58 +02:00
Harald Csaszar
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +02:00
Harald Csaszar
e425d64d2c [unity] Fixed RootMotion scripts in combination with Rigidbody components. Now works smoothly. Closes #1880. 2021-04-21 20:27:52 +02:00
Harald Csaszar
d146a81d21 [unity] SkeletonRagdoll components now support bone scale at any bone in the skeleton hierarchy, including negative scale and root bone scale. Closes #1879. 2021-04-20 18:18:20 +02:00
Harald Csaszar
692eed3a75 [unity] Root motion delta compensation now allows to add translation root motion to e.g. adjust a horizontal jump upwards or downwards. Fixed delta compensation to also respect any Skeleton-, Transform- or parent Bone scale. See #1876. 2021-04-14 17:56:59 +02:00
badlogic
6d7f29718b [ts] Fix parsing of spacing mode proportional for JSON files. 2021-04-14 17:45:39 +02:00
Harald Csaszar
dd7c3b1bcc [unity] Root motion delta compensation now allows to only adjust X or Y components instead of both. See #1876. 2021-04-12 17:31:00 +02:00
Harald Csaszar
1211c2a345 Merge branch '3.8' into 4.0-beta 2021-04-09 17:32:26 +02:00
Harald Csaszar
7782b01cdf [unity] Fixed a compile error occurring only on Unity 2017, Vector2 not supporting operator* (introduced by commit 758a83a). See #1876. 2021-04-09 17:30:55 +02:00