305 Commits

Author SHA1 Message Date
NathanSweet
188bf8dc03 Fixed TransformConstraint constructors. 2016-04-28 20:39:26 +02:00
NathanSweet
27958c145b Fixed setBonesToSetupPose not reseting shearMix. 2016-04-28 19:16:27 +02:00
NathanSweet
6491800a23 Fixed binary loader scale for transform constraints. 2016-04-28 19:16:04 +02:00
NathanSweet
8d7f761311 spine-libgdx updated to 3.2.00.
* Added transform constraint rotate, scale, and shear offsets and mixes.
* Added TransformConstraintTimeline.
* Added bone shearing.
* Added ShearTimeline.
* Changed Skeleton#updateCache.
* Changed JSON and binary formats. Some binary format fields and enums were rearranged for consistency -- sorry, but it's better for the long term. Docs for both are up to date.
http://esotericsoftware.com/spine-json-format
http://esotericsoftware.com/spine-binary-format
2016-04-26 22:51:04 +02:00
NathanSweet
86fa7aef11 On second thought, the math optimizations are OK.
(reverted from commit 547ea760d82c3c7e1dc825704eb2046a218317b1)
If inaccuracy becomes a problem at runtime (which is unlikely), users can decide to remove the optimizations.
2016-04-21 11:33:38 +02:00
NathanSweet
547ea760d8 Removed math optimizations to improve accuracy. 2016-04-21 11:26:39 +02:00
NathanSweet
e74b61e775 Clean up. 2016-04-19 20:51:52 +02:00
NathanSweet
1410f0e16f Clean up. 2016-04-15 17:40:48 +02:00
NathanSweet
108dd3dd97 Linked meshes also share edges and image size. 2016-04-15 12:21:45 +02:00
NathanSweet
47f79b7a8d Fixed reading UTF-8 with GWT.
http://esotericsoftware.com/forum/SkeletonBinary-java-does-not-compile-on-LibGDX-GWT-6191
2016-04-14 14:43:00 +02:00
NathanSweet
2c0dea8f87 Fixed reading draw order timeline in binary format. 2016-04-14 13:40:39 +02:00
NathanSweet
7823833bb4 Minor clean up. 2016-04-13 21:14:59 +02:00
NathanSweet
bf902936aa Fixed IK when the parent has nonuniform scale and the child Y != 0. 2016-04-12 23:26:08 +02:00
NathanSweet
b22669711d Fixed skeleton flip when rotation and scale are disabled. 2016-04-12 23:25:31 +02:00
NathanSweet
8c55aa1f62 Fixed reading UTF8. 2016-04-09 17:03:20 +02:00
NathanSweet
3a06b829cc Changed binary format for 3.1.05.
* String encoding simplified for reading by using number of bytes rather than number of UTF-8 characters.
* Parent bone index is no longer minus 1 and omitted for root.
* Mesh and weighted mesh vertices array is no longer preceeded by a length. UVs array length is vertex count, not vertex array length. Edges changed to short.
* Bounding box vertices array length is vertex count, not vertex array length.
2016-04-08 20:51:32 +02:00
NathanSweet
a60a0d1b78 Documentation. 2016-04-04 10:19:37 +02:00
NathanSweet
7525c37941 Changed tests to Java 1.7. 2016-04-03 19:11:04 +02:00
NathanSweet
4f3ccc2c51 List the supported editor version on each runtime README.
closes #526
2016-04-03 19:10:47 +02:00
NathanSweet
6c353c1a38 Fixed worldToLocal.
closes #544
2016-04-03 18:30:35 +02:00
NathanSweet
3607e32855 Fixed loading linked meshes from JSON/binary when the source mesh is in a skin. 2016-04-01 22:33:31 +02:00
NathanSweet
3da9f83501 Fixed region scale. 2016-03-31 14:07:43 +02:00
NathanSweet
f2eed37444 Updated spine-libgdx to 3.1.00: linked meshes. 2016-03-03 07:26:49 +01:00
NathanSweet
1e7f6277c2 Updated error message. 2016-02-27 02:13:38 +01:00
NathanSweet
f9d3988ee5 Fixed single bone IK with skeleton flipping. 2016-02-27 02:13:05 +01:00
NathanSweet
b0eec6f411 Changed bone sorting so transform behavior is consistent when IK and transform constraints are mixed. 2016-02-25 07:47:20 +01:00
NathanSweet
d93e1507fc Fixed disabling scale/rotation.
closes #525
2016-02-22 10:18:16 +01:00
NathanSweet
0f723b9fa7 A few fixes and minor improvements. 2016-02-17 03:52:22 +01:00
NathanSweet
4d3b007c99 C89 updates. 2016-02-16 20:39:24 +01:00
NathanSweet
ac2721c553 Fixed flipping to use world axes, fixed disable inherit scale and rotation when flipped. 2016-02-15 02:43:04 +01:00
NathanSweet
bb187daa10 SkinnedMeshAttachment renamed to WeightedMeshAttachment. 2016-02-14 22:48:38 +01:00
NathanSweet
5835337bed Added loading of transform constraints from JSON and binary. 2016-02-14 19:45:54 +01:00
NathanSweet
88207a609c Fixed Skeleton Viewer process staying alive after a crash. 2016-02-14 19:45:38 +01:00
NathanSweet
ca70bd04e6 Fixed single bone IK when a parent is scaled negatively. 2016-02-14 19:45:10 +01:00
NathanSweet
749acb7847 Shouldn't have been committed. 2016-02-11 17:15:47 +01:00
NathanSweet
323df5799e Simpler test animation. 2016-02-11 17:14:48 +01:00
NathanSweet
d5278e8331 Import warning. 2016-02-08 15:40:00 +01:00
NathanSweet
d70c1da866 Fixed disable rotation inheritance. 2016-02-06 17:49:42 +01:00
NathanSweet
cf01d47796 Updated Event in anticipation of AnimationState changes. 2016-01-21 11:38:23 +01:00
NathanSweet
c333b84740 Javadoc. 2016-01-20 14:58:25 +01:00
NathanSweet
8e9595f496 Fixed missing inherit scale/rotation. 2016-01-20 14:58:13 +01:00
NathanSweet
4d9c3d5ec4 Backward attachment check!
Ouch!
2016-01-15 07:10:08 +01:00
NathanSweet
318b9939e6 Made consistent when slot vertices and attachment time are reset.
setAttachment resets vertices and attachment time only if the attachment actually changed. setToSetupPose always resets vertices and attachment time.

http://esotericsoftware.com/forum/Spine-API-SetToSetupPose-FFD-Questions-2102?p=26119#p26119
2016-01-15 07:02:09 +01:00
NathanSweet
c7bb3f3af8 Ensure the track entry has the correct time when start and end are fired.
#154
2016-01-12 17:18:45 +01:00
NathanSweet
b6f7e50ff7 Fixed events on first frame not being fired for looping animations when their duration is 1s. 2016-01-12 17:17:49 +01:00
NathanSweet
2650e2679d Apply remaining time to next animation.
Previously one frame worth of delta time was lost.

When the end of an animation is passed, one frame goes by so the animation has a chance to apply its final pose and fire any events on its last few frames. The second animation starts using the amount of time since the actual end of the first animation.

#154
2016-01-12 06:46:11 +01:00
NathanSweet
ec3db90e65 Fixed skeleton flip. 2016-01-12 06:42:41 +01:00
NathanSweet
f8ad5514af AnimationState unit test.
Pharan, y u so silly?!
2016-01-11 09:16:55 +01:00
NathanSweet
426744afc1 Don't require animation selection. 2016-01-11 09:16:07 +01:00
NathanSweet
b9acf228f8 Clean up. 2016-01-11 02:18:37 +01:00