785 Commits

Author SHA1 Message Date
NathanSweet
b4c50035b8 [libgdx] AnimationState, fixed attachment and draw order threshold TrackEntry settings.
closes #1204
2018-12-01 20:59:19 +01:00
NathanSweet
d9e39c2866 [libgdx] SkeletonViewer, display track percentages with lowest at bottom. 2018-12-01 20:59:19 +01:00
badlogic
ef4391039c Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-22 14:37:16 +01:00
NathanSweet
750722f1c9 Catch Throwable rather than Exception. 2018-11-20 21:44:47 +01:00
badlogic
4fb76c8c0e Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-19 14:45:11 +01:00
badlogic
238523d0fc Updated assets in all runtime example projects except Unity and UE4. 2018-11-19 13:28:58 +01:00
badlogic
990ccc4606 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-15 15:58:42 +01:00
badlogic
c95af40579 Updated all exports, using PMA now where possible in all examples. Did not update UE4 and Unity assets, these need to be updated manually. 2018-11-15 10:58:30 +01:00
badlogic
b2b2845f88 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-14 14:29:56 +01:00
NathanSweet
b194dbf2c8 [libgdx] Added Skin#removeAttachment. 2018-11-12 01:41:15 +01:00
badlogic
7ac4a3add8 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-06 18:44:33 +01:00
NathanSweet
42e5222cbf [libgdx] Simpler hashcode. 2018-11-04 04:29:58 +01:00
badlogic
b1f9d062a5 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-10-30 17:00:29 +01:00
NathanSweet
69df56826d [libgdx] Limit the number of entries nulled when a skin is cleared. 2018-10-29 17:11:57 +01:00
badlogic
bb1bdd7046 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-10-26 17:12:08 +02:00
NathanSweet
3851e201d8 [libgdx] Fixed worldToLocalRotation and localToWorldRotation to account for local rotation and shearX. 2018-10-20 18:01:46 +02:00
NathanSweet
81af7309e8 Batch and PolygonBatch draw methods accept float[] vertex data in the Batch format (5 attribute/vertex), new methods are provided to accept float[] vertex data containing two colors.
closes #1121
2018-10-19 00:33:35 +02:00
NathanSweet
f95465ff96 [libgdx] Mix time is no longer affected by TrackEntry#timeScale.
Also contains a fix for the leftover time when the next track entry's delay is reached. The remaining time is converted from `current` back to AnimationState time, then to `next` time.
2018-10-18 00:57:58 +02:00
NathanSweet
84ae36f90f [libgdx] Improved fix for timeScale not returning to the setup pose.
We should complete a mix frozen by timeScale 0 only when `to` has been mixed out. However, it would probably be better for TrackEntry#timeScale to not affect the mix time at all.
#1194
2018-10-18 00:41:43 +02:00
NathanSweet
9867c975ab [libgdx] More javadoc improvements. 2018-10-17 22:06:13 +02:00
NathanSweet
9be30c44cd [libgdx] Fixed tangents at position 0.
Calculating the tangent requires more precision than the position.

http://esotericsoftware.com/forum/Glitch-with-the-bones-constrained-to-the-path-10969

Repro:
http://n4te.com/x/173-path-tangent-precision.spine
2018-10-17 14:52:15 +02:00
NathanSweet
d0d22bb344 [libgdx] AnimationState javadoc. 2018-10-17 14:49:22 +02:00
badlogic
025e5874ae Merge branch '3.7-beta' into 3.7-beta-cpp 2018-10-15 16:34:51 +02:00
NathanSweet
48371236db [libgdx] AnimationState javadocs. 2018-10-15 16:25:45 +02:00
NathanSweet
eea4d106c1 [libgdx] Added AnimationState#getMixingFrom. 2018-10-15 16:25:45 +02:00
NathanSweet
abdbb10480 [libgdx] Fixed 0 timeScale not returning to the setup pose.
closes #1194
2018-10-15 16:25:45 +02:00
badlogic
8f95417ac3 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-10-03 13:20:06 +02:00
NathanSweet
12338fa262 [gdx] Update TwoColorPolygonBatch to match latest libgdx changes. 2018-09-29 01:11:07 +02:00
badlogic
939cecdd0f Merge branch '3.7-beta' into 3.7-beta-cpp 2018-09-10 16:16:43 +02:00
NathanSweet
18bd64f657 Added BoneTimeline and SlotTimeline interfaces. 2018-09-07 21:18:20 +02:00
badlogic
7c398be3b6 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-09-06 16:01:12 +02:00
NathanSweet
bc77029711 [libgdx] Removed unnecessary local. 2018-09-06 15:35:44 +02:00
badlogic
a4584a1a1c [ts] Added event volume and balance, see #1171. 2018-09-06 14:45:55 +02:00
NathanSweet
45fbd64e30 Added event volume and balance. 2018-09-06 10:59:02 +02:00
badlogic
3a64a3d389 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-09-03 15:16:37 +02:00
badlogic
74734bc542 [runtimes] Re-exported samples with 3.7. 2018-09-03 15:16:20 +02:00
badlogic
38e5d2f35a Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-23 15:11:16 +02:00
NathanSweet
7df713b13f Added IK constraint compress and uniform settings. 2018-08-23 12:15:38 +02:00
NathanSweet
9b259c66e0 Added TrackEntry#holdPrevious to avoid dipping in higher tracks.
Also:
- Added mixingTo to make track entries a doubly linked list, removing the need for the mixingTo array.
- Renamed dip->hold, timelineData->timelineMode, timelineDipMix->timelineHoldMix ("dip" naming was bad).
2018-08-16 02:51:49 +02:00
NathanSweet
7996f2bae0 [libgdx] Prevent rotation from spinning out of control.
For example, when diff is -360 at the == 0 check, it later becomes 0.
2018-08-16 02:51:49 +02:00
badlogic
e724231c5f Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-14 15:09:15 +02:00
badlogic
4b66fffcd7 [cpp] Updated samples to include stretch IK flag, implemented stretchy IK for C++. 2018-08-14 14:30:11 +02:00
badlogic
f12728f0d2 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-09 15:18:15 +02:00
Mario Zechner
ac7fe7ca80 Updated examples to 3.7, including stretchy ik. 2018-08-03 14:57:10 +02:00
badlogic
22c1e32164 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-07-18 14:14:39 +02:00
NathanSweet
98907dd703 [libgdx] Javadoc typo. 2018-07-16 03:59:15 +02:00
NathanSweet
ae2f771120 Be nicer about zero length bones for stretchy IK. 2018-07-11 04:56:26 +02:00
NathanSweet
a62e4466dd Added stretchy IK. 2018-07-11 04:44:56 +02:00
badlogic
fbe0692c4c Merge branch '3.7-beta' into 3.7-beta-cpp 2018-07-03 13:45:19 +02:00
NathanSweet
d9a6b9151b Changed skeleton flipX/Y to scaleX/Y.
Cleans up applying transforms and is more powerful. Allows scaling a whole skeleton which has bones that disallow scale inheritance.
2018-07-02 16:45:06 +02:00