712 Commits

Author SHA1 Message Date
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
NathanSweet
b194dbf2c8 [libgdx] Added Skin#removeAttachment. 2018-11-12 01:41:15 +01:00
NathanSweet
42e5222cbf [libgdx] Simpler hashcode. 2018-11-04 04:29:58 +01:00
NathanSweet
69df56826d [libgdx] Limit the number of entries nulled when a skin is cleared. 2018-10-29 17:11:57 +01: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
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
NathanSweet
12338fa262 [gdx] Update TwoColorPolygonBatch to match latest libgdx changes. 2018-09-29 01:11:07 +02:00
NathanSweet
18bd64f657 Added BoneTimeline and SlotTimeline interfaces. 2018-09-07 21:18:20 +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
74734bc542 [runtimes] Re-exported samples with 3.7. 2018-09-03 15:16:20 +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
4b66fffcd7 [cpp] Updated samples to include stretch IK flag, implemented stretchy IK for C++. 2018-08-14 14:30:11 +02:00
Mario Zechner
ac7fe7ca80 Updated examples to 3.7, including stretchy ik. 2018-08-03 14:57:10 +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
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
badlogic
046c9b871a Merge branch '3.6' into 3.7-beta 2018-06-28 11:15:54 +02:00
badlogic
52f483e0ad [maven-release-plugin] prepare for next development iteration 2018-06-28 11:12:57 +02:00
badlogic
206a8e675c [maven-release-plugin] prepare release spine-libgdx-3.6.53.1 2018-06-28 11:12:51 +02:00
badlogic
3e6ac83a9d [libgdx] Fixed Maven version. 2018-06-28 11:11:49 +02:00
badlogic
681584056b [runtimes] Back ported fix for #1119 to 3.6. 2018-06-08 13:40:38 +02:00
badlogic
cd198815e5 Merge branch '3.6' into 3.7-beta 2018-06-07 16:47:50 +02:00
badlogic
3ea3402344 [libgdx] Updated snapshot version. 2018-06-06 11:38:02 +02:00
Nathan Sweet
395e71c098
Update LICENSE 2018-06-05 14:03:21 +02:00
NathanSweet
2a7fd54224 [libgdx] Fix events firing during mix out.
#1120
closes #1119
2018-05-31 09:40:07 +02:00
badlogic
eb69071a0a Merge branch '3.6' into 3.7-beta 2018-05-16 11:46:01 +02:00
badlogic
99ca67ca77 Fixes completion event firing for 0 duration animations. See #1112. 2018-05-16 11:26:22 +02:00
Nathan Sweet
e4839352ec Fixed percent spacing incorrectly being affected by scale. Made fixed position and fixed spacing be affected by scale.
Caveats: Fixed position is not affected by scale in setup mode nor for non-constant speed paths.
2018-05-02 22:24:29 +02:00
NathanSweet
66eabfc4d1 [libgdx] updateWorldTransform as late as possible.
Something can set a new animation after `act` but before `draw`, resuling in the wrong pose if updateWorldTransform is done in `act`.
2018-04-17 14:12:27 +02:00
NathanSweet
83331fa892 [libgdx] Removed unused import. 2018-04-15 18:24:53 +02:00
NathanSweet
2fc374fd6b [libgdx] Avoid AtomicInteger for GWT. 2018-04-15 18:08:26 +02:00
NathanSweet
4e5e82502b [libgdx] Option to reset blend function. 2018-04-15 18:08:25 +02:00
NathanSweet
643a1cb2aa [libgdx] Javadoc 2018-04-15 18:08:25 +02:00
badlogic
c97553474e Added new assets for libGDX tests. 2018-04-12 10:24:42 +02:00
NathanSweet
a961b41a9c Fixed addAnimation when a non-looping animation trackTime is > duration.
The delay is based on `last.trackTime` because of how we preserve leftover time in update(). Previously using `addAnimation(..., 0)` on a track where the current animation has a trackTime > duration resulted in switching to the new animation, but the old animation trackTime was added to the new animation track time. See `float nextTime = current.trackLast - next.delay;` in update().
2018-03-27 17:23:10 +02:00
NathanSweet
e3b8ac58dc [libgdx] Fixed clipping. 2018-03-22 12:59:30 +01:00
NathanSweet
0f9e9f6f73 [libgdx] Removed debugging. 2018-03-22 12:56:08 +01:00