5892 Commits

Author SHA1 Message Date
Mario Zechner
28727aff22 [ts] Fix spine-ts build for TSC 4.4.2 2022-01-21 16:36:47 +01:00
Luke Ingram
72f3ad3fb0 [ts] Fixed assigning attachment to slot 2022-01-20 17:53:47 -04:00
deal
1aa112fe40
[cocos2dx] Fix ClippingAttachment doesn't work (#2011) 2022-01-19 15:35:54 +01:00
Army
3ad80d076f
[ts][canvas] Always set global alpha 2021-12-21 11:24:34 +01:00
Denis Claros
d72885b296
Implement new mesh:update() function (#1988) 2021-12-03 13:41:04 +01:00
Harald Csaszar
baf30f0ff5 [unity] Fixed MeshGenerator not updating triangle indices when inactive bone implicitly clears attachment. See #1984. 2021-11-10 19:47:37 +01:00
halx99
287825dab5
Fix command pipeline state uniform location mismatch (#1947)
* Fix command pipeline state uniform location mismatch

* Fix indent

* Adapte adxe (cocos2d-x-v4 fork) custom batch draw

a. adxe engine have better custom batch draw support
b. https://github.com/adxeproject/adxe
c. see relative issue: https://github.com/adxeproject/adxe/issues/482
2021-09-25 10:43:55 +02:00
Harald Csaszar
e2e8b4478f [unity] Fixed white image at first frame when using multiple canvas renderers. Partial 3.8 port of commit 214c778b, see #1875. 2021-07-12 16:00:06 +02:00
Harald Csaszar
d1749f8aa8 [unity] Fixed potential null reference exception upon access in Start if Reload Scene is disabled. Closes #1919. 2021-07-06 12:13:19 +02:00
Harald Csaszar
52ecc9349c [unity] Fixed Timeline and AnimationReferenceAsset in general not updating animations after skeleton asset updated. Closes #1915. 2021-07-02 17:44:30 +02:00
Harald Csaszar
b3f76c4e54 [unity] Fixed SkeletonGraphic Update When Invisible not working. Now it uses onCullStateChanged, which can be used with RectMask2D. Closes #1910. 2021-06-23 20:30:33 +02:00
badlogic
878c862af4 [as3] Fix region attachment offset calculation, closes #1739 2021-06-10 15:22:28 +02:00
badlogic
6314eaf908 [webgl] Fix worker mode, closes #1804 2021-06-10 15:05:13 +02:00
badlogic
cb179c73dc [libgdx] Fix signing config for snapshot releases 2021-06-10 15:00:50 +02:00
badlogic
0549aaa541 [maven-release-plugin] prepare for next development iteration 2021-06-10 14:09:01 +02:00
badlogic
139e5dfefd [maven-release-plugin] prepare release spine-libgdx-3.8.99.1 spine-libgdx-3.8.99.1 2021-06-10 14:08:55 +02:00
badlogic
3678f3800b [libgdx] More changes to pom.xml 2021-06-10 14:08:30 +02:00
badlogic
337441127f [libgdx] Update plugin versions 2021-06-10 14:05:25 +02:00
badlogic
7cb7a9e64b [libgdx] Use latest libGDX release 2021-06-10 13:54:33 +02:00
badlogic
70167fdb0f [libgdx] Preparation for 3.8.99.1 relesae 2021-06-10 13:49:50 +02:00
Nathan Sweet
c7ac5b21a8 [libgdx] Added version field to SkeletonViewer.
Needed to rebuild with latest build system.
2021-06-08 16:02:56 -04:00
Harald Csaszar
9e9445199a [unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897. See #1883. 2021-06-01 17:16:27 +02:00
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
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
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
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
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
c950dff9aa [unity] Fixed blend mode materials not being generated upon first import. Closes #1891. 2021-05-14 18:04:01 +02:00
Harald Csaszar
938a8c8369 [unity] Fixed SkeletonGraphic Mesh memory leak. Closes #1887. 2021-05-07 20:50:01 +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
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
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
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
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
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
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
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
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
Harald Csaszar
758a83ac96 [unity] SkeletonRootMotion components now support arbitrary bones in the hierarchy as Root Motion Bone. Now supporting arbitrary Skeleton.ScaleX/Y and parent bone scale. Closes #1876. 2021-04-09 17:15:45 +02:00
Harald Csaszar
6c40624d5e [unity] Set Mipmap Bias was not persisted on recent Unity versions. Closes #1877. 2021-04-08 19:17:46 +02:00
Harald Csaszar
97b3f3058b [unity] Added RootMotionDeltaCompensation example component demonstrating simple root motion delta compensation. See #1873. 2021-04-06 17:44:50 +02:00
badlogic
748a03c7d7 [ts] Fix for NaN bounds
This is a temporary fix. Customer send reproduction sample. A slot has a mesh and corresponding deform. The number of vertices in the mesh is != the number of vertices in the deform, resulting in NaNs, which propagate to the bounds calculation of the web player. It is unclear how the mesh and deform can have a different number of vertices.
2021-04-06 14:13:04 +02:00
Harald Csaszar
3fdbf9a061 [unity] Reduced GC footprint of GetRepackedSkin() by reusing static Lists. Closes #1872. 2021-04-02 15:00:32 +02:00
Harald Csaszar
a24c6600f5 [unity] Fixed previous commit not compiling in Unity 2017 due to Vector2.operator* not being supported yet (commit 2bc8827). See #1871. 2021-04-02 12:45:55 +02:00