Nathan Sweet
94e6e41518
Added AnimationState setNext and clearNext.
...
http://esotericsoftware.com/forum/Keep-track-of-added-animations-13896
2020-05-05 15:34:07 +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
742d11f65f
[libgdx] SkeletonViewer, try to disable reflective access warning.
2020-05-02 17:42:18 +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
dea3e3594c
Moved @Null for method return values to the same line.
2020-04-22 21:17:40 +02:00
Nathan Sweet
afab54aaa1
Javadocs.
2020-04-22 15:36:41 +02:00
Nathan Sweet
3f3098902b
[libgdx] SkeletonViewer, even more sophisticated atlas file search.
2020-04-21 17:34:50 +02:00
Nathan Sweet
077afcea09
[libgdx] Fixed curve values not being scaled when loading data. Added SkeletonLoader. Javadocs.
2020-04-21 17:34:11 +02:00
Nathan Sweet
45767d0e3d
[libgdx] Cleaned up simple tests.
2020-04-21 10:04:53 +02:00
Nathan Sweet
b0aa2f7447
[libgdx] Skeleton hash is now a long in the binary format.
2020-04-21 10:04:53 +02:00
Nathan Sweet
b0407a850c
Merge branch '3.8' into 3.9-beta
2020-04-19 16:46:41 +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
1896102d70
Merge branch '3.8' into 3.9-beta
...
# Conflicts:
# spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-04-19 15:33: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
6b680f7b53
[libgdx] It is safe to use unordered arrays for the Triangulator convexPolygons and convexPolygonsIndices.
...
Saves copying when removing empty polygons.
2020-04-02 22:56:51 +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
adc3bbb774
[libgdx] Prefer direct array access.
...
Already did it some places, might as well do it everywhere.
2020-04-02 00:11:24 +02:00
Nathan Sweet
a28f490c45
Merge branch '3.8' into 3.9-beta
...
# Conflicts:
# spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java
# spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-03-30 23:33:03 +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
Nathan Sweet
9b2690bfe7
Formatting.
2020-03-22 03:10:14 +01:00
NathanSweet
fef881730d
Don't unbind shaders.
...
https://github.com/libgdx/libgdx/pull/5944
2020-03-11 11:30:30 +01:00
NathanSweet
5ed73c8a94
Use field for Skeleton Viewer version.
2020-02-24 00:47:19 +01:00
NathanSweet
b5bf674a64
Fixed path spacing/position timelines being swapped, more efficient reading of color times.
2020-02-22 18:51:43 +01:00
NathanSweet
73f90ebc66
Removed unnecessary SuppressWarnings.
2020-02-13 22:26:16 +01:00
NathanSweet
cbfff6e9ba
Use libgdx Null annotation. Updated Eclipse project files.
2020-02-13 20:20:07 +01:00
NathanSweet
53068fc7f1
Use annotation for null analysis rather than javadoc.
2020-02-13 15:32:12 +01:00
NathanSweet
e6672a763f
Rearrange math for worldToLocal.
2019-12-20 13:52:20 +01:00
NathanSweet
b3fd4515e9
Name parameters for clarity.
2019-12-20 13:52:19 +01:00
badlogic
934bec56b7
Merge branch '3.8' into 3.9-beta
2019-12-20 12:27:35 +01: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
badlogic
ebe44b0e13
Merge branch '3.8' into 3.9-beta
2019-12-12 14:41:18 +01:00
NathanSweet
6568c5d64e
Fixed JsonRollback when a skin has no attachments.
2019-12-12 10:56:26 +01:00
NathanSweet
068a554cc9
Avoid iterators for hot paths.
2019-12-06 22:22:18 +01:00
NathanSweet
65752c6d39
A little more minor skin clean up.
2019-12-06 22:22:18 +01:00
NathanSweet
26aaed331f
Minor skin clean up.
2019-11-29 21:07:30 +01:00
NathanSweet
d1d108952b
Avoid creating a new color object just to set a color.
2019-11-25 14:25:32 +01:00
NathanSweet
fdc73cae67
Javadoc improvements.
2019-11-25 14:19:36 +01:00
NathanSweet
952a34bc08
Restructured timelines to have a curve per value.
...
EsotericSoftware/spine-editor#118
2019-11-22 22:09:12 +01:00
NathanSweet
ede4ac7b45
Reverse and hold previous checkboxes for Skeleton Viewer.
2019-11-22 22:09:12 +01:00
badlogic
aebe8d3fb6
[libgdx] Switch Java version back to 1.7.
2019-11-22 14:39:30 +01:00
badlogic
7763a8839b
[libgdx] Depending on libGDX snapshot builds for now.
2019-11-22 14:35:10 +01:00
NathanSweet
be8f622638
Added support for AnimationState to play backward.
2019-11-22 11:25:11 +01:00
NathanSweet
34ad58febe
Use linear search to find keys.
...
Linear consistently outperforms binary using a wide sampling of real world data.
2019-11-16 18:08:33 +01:00
NathanSweet
faf22ce3cc
Removed clamping.
...
It wasn't used in all code paths anyway.
2019-11-05 21:51:48 +01:00
NathanSweet
4762954446
Fixed bug with interpolation of first Bezier segment.
2019-11-05 19:02:19 +01:00