888 Commits

Author SHA1 Message Date
Nathan Sweet
829035330b [libgdx] Fixed incorrect mixing when interrupting a mix with a 3rd entry using hold previous.
closes #1738
2020-08-12 22:17:22 +02:00
Harald Csaszar
54b8039f1a [libgdx] Fixed a clipping bug when there are two clipping meshes and clipping-end-slot is a skin bone that is disabled (Clipping.endClipping not called when slot.bone.active==false). See #1694. 2020-06-05 21:28:51 +02:00
Nathan Sweet
5cab7e9460 Fixed 1-bone IK for transform mode noRotationOrReflection when skeleton scale is applied. 2020-06-03 15:47:46 +02:00
Nathan Sweet
d7203eec1a Improved fix for TransformMode.noRotationOrReflection with skeleton scale.
#1668
http://esotericsoftware.com/forum/WebGL-ScaleX-Question-13983
2020-05-20 12:36:35 +02:00
Nathan Sweet
de203d5715 Fixed TransformMode.noRotationOrReflection applying skeleton scale twice.
This transform mode inherits scale from the parent, which will have skeleton scale, so should not have it applied again.

closes #1668
2020-05-05 14:44:22 +02:00
Nathan Sweet
e649ef05b7 Added AnimationState listener tests for looping and queuing a second animation. 2020-05-01 20:48:35 +02:00
Nathan Sweet
30e7812d1f [libgdx] SkeletonViewer, even better handling of atlas file look up. 2020-04-19 16:40:59 +02:00
Nathan Sweet
30801657dd [libgdx] Fixed attachments not being reset when an entry is mixed out. Removed LAST computation.
Slot#attachmentState is sufficient to fix up attachments set by animations that are mixing out.

Email: FMfcgxwHMjqkvnPzdPlrGkTpBkGqpwXr
2020-04-14 18:33:01 +02:00
Nathan Sweet
02ecbae91c [libgdx] SkeletonViewer, look harder for atlas using common Unity suffixes. 2020-04-14 18:33:01 +02:00
Nathan Sweet
24ff3258ec [libgdx] Fixed AnimationState tests.
Commit a321aa76d556a618a09abb3adeb7473a6c099304 added "|| timeline instanceof EventTimeline" to `computeHold`, so event timelines always use FIRST, never HOLD. This changed the timing slightly and broke the test, but the new timing is better.
2020-04-02 17:38:46 +02:00
Nathan Sweet
b566bfb0b9 Javadocs. 2020-03-30 23:21:31 +02:00
Nathan Sweet
dd1b3aaa50 Improved AnimationState deform mixing while attachment timelines mix out.
See EsotericSoftware/spine-editor#545 for details.

fixes #1292
fixes #1352
fixes EsotericSoftware/spine-editor#545
2020-03-30 17:42:03 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
NathanSweet
c9d871ab63 [libgdx] One bone IK, added fall through comment. 2019-12-18 18:19:26 +01:00
NathanSweet
d94ebeae7a [libgdx] One bone IK clean up. 2019-12-18 18:16:05 +01:00
NathanSweet
203a648ae9 [libgdx] Fixed one bone IK with disable inherit rotation/scale/reflection. 2019-12-18 18:04:21 +01:00
NathanSweet
6568c5d64e Fixed JsonRollback when a skin has no attachments. 2019-12-12 10:56:26 +01:00
badlogic
656b08a32e [cocos2dx] Added IK example, see #1532. Also added SkeletonAnimation::setPreUpdateWorldTransformsListener() and SkeletonAnimation::setPostUpdateWorldTransformsListener(). 2019-10-28 14:07:25 +01:00
badlogic
8a93522ce9 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-10-24 16:51:09 +02:00
badlogic
b9f8fb3b9e [libgdx] Added mouse following IK example. See #1532. 2019-10-24 16:49:53 +02:00
NathanSweet
4812bac88d [libgdx] Store timeline ids inside set in Animation for O(1) lookup, added Animation#setTimelines.
See #1462.
2019-10-17 17:49:05 +02:00
badlogic
679a012cc3 [libgdx] SkinEntry equals and hashCode do not take the attachment field into account. When setting a new SkinEntry for an existing slot + name combination, the old key with the old attachment stays in the keys table of the OrderedMap. Upon a call to getAttachments() that keys table is returned, which means the old attachment is returned instead of the newly set attachment. This commit fixes this buggy behaviour by storing SkinEntries as values, giving us access to the re-used key on which we can then update the attachment field. I'm sorry. Closes #1485. 2019-09-26 14:29:43 +02:00
badlogic
826771c2b6 [libgdx] Apply left over time additively to track time of delayed TrackEntry. See #1504. 2019-09-26 11:30:38 +02:00
NathanSweet
f6dcf94115 [libgdx] Removed extra spaces in shader. 2019-08-29 19:18:59 +02:00
NathanSweet
2fa85fc1c6 [all] AnimationState, fixed an attachment timeline from changing the mix blend for other timelines.
closes #1461
2019-08-27 13:20:24 +02:00
NathanSweet
88ece3181e [libgdx] Made method package private for editor. 2019-08-26 20:29:05 +02:00
NathanSweet
2af6f4c925 [libgdx] Set default size (may fix VM bug in Chinese Android devices). 2019-08-25 17:32:01 +02:00
NathanSweet
c167d8bc52 [libgdx] Fixes for JsonRollback (to 3.7). 2019-08-20 19:25:23 +02:00
NathanSweet
c4fc616a9f Added a SkeletonData asset loader.
#266
#826
2019-08-20 13:32:12 +02:00
NathanSweet
c24b8b348d [libgdx] Removed JsonRollback println. 2019-08-13 17:13:12 +02:00
NathanSweet
f60f026f09 [libgdx] Minor SkeletonBinary improvement. 2019-08-06 16:40:06 +02:00
NathanSweet
bb8cba13e1 [libgdx] SkeletonBinary should only set a default skin if it has attachments. 2019-08-06 16:38:29 +02:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
3f1214923c [maven-release-plugin] prepare for next development iteration 2019-08-05 15:04:01 +02:00
badlogic
76a6f7302f [maven-release-plugin] prepare release spine-libgdx-3.8.55.1 2019-08-05 15:03:54 +02:00
badlogic
d5689f01b0 [libgdx] Snapshot version. 2019-08-05 15:03:25 +02:00
badlogic
581fcfb315 [libgdx] Updated to gdx 1.9.10. 2019-08-05 15:01:44 +02:00
NathanSweet
eac42ae50a [libgdx] Disallow creating a timeline with 0 frames. 2019-07-14 13:33:23 +02:00
badlogic
f8f495524e Updated example exports, fixed up example projects with mix-and-match skin api demo. 2019-07-09 13:47:05 +02:00
NathanSweet
12fc3d2823 [libgdx] Fixed Skeleton Viewer not allow deselection of animations or skins. 2019-07-07 00:16:06 +02:00
NathanSweet
e915776665 [libgdx] Javadoc. 2019-07-05 19:21:46 +02:00
badlogic
bbce5b915d Updated README.mds. 2019-06-26 13:53:12 +02:00
NathanSweet
64695a2c80 [libgdx] Apply loader scale to IK constraint softness. 2019-06-19 23:07:15 +02:00
badlogic
6850a019ec Updated examples again, final binary format change. 2019-06-19 18:02:20 +02:00
badlogic
5f13f1b8e6 Exported all examples with 3.8.25-beta to include file format changes in .json and .skel files. 2019-06-19 16:56:47 +02:00
NathanSweet
e3bc0822e1 [libgdx] IK constraint improvements.
* Fixed softness when the parent bone is scaled.
* Scale softness using the parent and child bone `scaleX`.
* Fixed NaNs when the child bone is at `0,0` parent coordinates (or the parent is scaled to zero).
2019-06-19 02:26:03 +02:00
NathanSweet
15b4c54888 [libgdx] Added IK softness. 2019-06-17 19:06:22 +02:00
badlogic
8d52356475 Merge branch '3.8-beta' of https://github.com/EsotericSoftware/spine-runtimes into 3.8-beta 2019-06-13 15:58:24 +02:00
badlogic
5d974e4480 Added mix-and-match assets, modified export scripts, added libGDX sample. See #1375. 2019-06-13 15:58:16 +02:00
NathanSweet
ccc5b2f38b [libgdx] Fixed root bone transform for skeleton scale to use world axes.
#1373
2019-06-13 14:57:29 +02:00