1088 Commits

Author SHA1 Message Date
badlogic
656b08a32e [cocos2dx] Added IK example, see #1532. Also added SkeletonAnimation::setPreUpdateWorldTransformsListener() and SkeletonAnimation::setPostUpdateWorldTransformsListener(). 2019-10-28 14:07:25 +01:00
NathanSweet
40e0f7c88c Combined properties for rgb channels. 2019-10-26 17:18:01 +02:00
NathanSweet
93ca505864 Value space timelines, multiple property IDs per timeline, rotation not limited -180/180, clean up.
* Timeline is an abstract base class rather than an interface.
* Timelines have a list of String property IDs rather than a single int ID.
* CurveTimeline is separated into percent and value timelines and the API is cleaned up.
* CurveTimeline stores Bezier curves more efficiently. Linear/stepped keys used to take up memory they didn't use (18 floats/key).
* Binary format knows how many keys are Bezier up front for more efficient loading.
* RotateTimeline is no longer limited to -180/180.
* ScaleTimeline and ShearTimeline no longer extend TranslateTimeline.
* PathConstraintSpacingTimeline no longer extends PathConstraintPositionTimeline.
2019-10-26 15:00:58 +02:00
badlogic
4dd94dfb4d Merge branch '3.8' into 3.9-beta 2019-10-25 13:54:53 +02: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
0ee034b2db [libgdx] Store timeline ids inside set in Animation for O(1) lookup, added Animation#setTimelines.
See #1462.
2019-10-17 17:49:54 +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
NathanSweet
30a460d504 [libgdx] Allow listeners to be removed from event callbacks.
closes #464
2019-10-14 14:01:42 +02:00
NathanSweet
eb1c382a3b [libgdx] Fixed tests.
AnimationStateTests failure was caused by a321aa76d556a618a09abb3adeb7473a6c099304, when `computeHold` was added, specifically `|| timeline instanceof EventTimeline`. The slight event order difference is unlikely to be an issue for anyone.
2019-10-14 13:59:39 +02:00
badlogic
ecd1d67c25 [libgdx] Store timeline ids inside set in Animation for O(1) lookup. See #1462. 2019-09-26 15:04:57 +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
0ad6eb1b8d [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:01 +02:00
badlogic
a7d68b7cd5 Merge branch '3.8' into 3.9-beta 2019-09-26 11:38:47 +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
badlogic
db166b1b7b Merge branch '3.8' into 3.9-beta 2019-09-11 16:20:00 +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
badlogic
7482e4a212 Merge branch '3.8' into 3.9-beta 2019-08-19 17:07:23 +02:00
NathanSweet
c24b8b348d [libgdx] Removed JsonRollback println. 2019-08-13 17:13:12 +02:00
Tomski
4005b4dee9 Support for Gradle building, installing, and jitpack (#1431) 2019-08-08 15:52:01 +02:00
badlogic
e940f72d91 Merge branch '3.8' into 3.9-beta 2019-08-07 11:43:45 +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
9040824e2b Merge branch '3.8' into 3.9-beta 2019-08-05 17:41:29 +02:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
ed44edfaed [libgdx] Updated pom version. 2019-08-05 15:17:03 +02:00
badlogic
e353e187ef Merge branch '3.8' into 3.9-beta 2019-08-05 15:16:44 +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
badlogic
f2be7423da Updated README.mds to specify correct Spine Editor version compatibility. 2019-08-05 14:54:07 +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