471 Commits

Author SHA1 Message Date
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
c4fc616a9f Added a SkeletonData asset loader.
#266
#826
2019-08-20 13:32:12 +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
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
NathanSweet
eac42ae50a [libgdx] Disallow creating a timeline with 0 frames. 2019-07-14 13:33:23 +02:00
NathanSweet
e915776665 [libgdx] Javadoc. 2019-07-05 19:21:46 +02:00
NathanSweet
64695a2c80 [libgdx] Apply loader scale to IK constraint softness. 2019-06-19 23:07:15 +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
NathanSweet
ccc5b2f38b [libgdx] Fixed root bone transform for skeleton scale to use world axes.
#1373
2019-06-13 14:57:29 +02:00
NathanSweet
ad6ed0911c [libgdx] Wrap System.arraycopy for exceptions with more context. 2019-06-11 11:17:34 +02:00
NathanSweet
28862c94bc Javadocs, argument checks, minor clean up. 2019-06-09 16:14:36 +02:00
NathanSweet
b473b8afb4 [libgdx] Don't include inactive bones when computing SkeletonBounds. 2019-06-09 15:05:43 +02:00
NathanSweet
634887fa09 [libgdx] SkeletonBinary, fixed reading a skin's bones fix. 2019-06-05 16:39:38 +02:00
NathanSweet
30a1a9b8c7 [libgdx] SkeletonBinary, fixed reading a skin's bones. 2019-06-05 16:37:07 +02:00
NathanSweet
2cc92a6f7c [libgdx] Don't include inactive bounds when computing skeleton bounds. 2019-06-04 22:40:29 +02:00
NathanSweet
7249fd6e4d [libgdx] Binary format, added a string table.
The binary export for a project with many attachment keys went from 3.5MB to 640KB (63.7KB zipped!).
2019-06-03 16:32:45 +02:00
NathanSweet
ec5b721557 [libgdx] Set array sizes up front rather than shrink afterward.
No format or functional changes here.
2019-06-03 16:32:45 +02:00
badlogic
829fcc4168 [libgdx] Need to check for null attachment in internal entries. 2019-06-03 14:59:21 +02:00
badlogic
f8ea06048c Merge branch 'skin-bones' of https://github.com/EsotericSoftware/spine-runtimes into skin-bones 2019-06-03 14:55:01 +02:00
badlogic
8d0ffd08f0 [libgdx] deformAttachment is set for all vertex attachment types on copy. 2019-06-03 14:54:45 +02:00
NathanSweet
8c2e975c20 Javadoc. 2019-06-03 14:18:15 +02:00
NathanSweet
47c3704acd Javadoc, clean up. 2019-05-31 18:13:02 +02:00
badlogic
b87ff7337b [libgdx] Removed VertexAttachment#applyDeform and replaced it with VertexAttachment#deformAttachment. The attachment set on this field is used to decide if a DeformTimeline should be applied to the attachment active on the slot to which a deform timeline is applied. Also removed inheritDeform field and getters/setters from MeshAttachment. 2019-05-31 17:46:37 +02:00
badlogic
eae88a058c [libgdx] Added Mesh#newLinkedMesh(), creates a linked mesh linked to either the original mesh, or the parent of the original mesh. Changed behaviour of Skin#copy: it always creates linked meshes. This allows changing e.g the region or rendererObject of the mesh, but will still link to the original mesh for vertices and similar data. 2019-05-31 16:55:42 +02:00
badlogic
e03a0ef659 Merge branch '3.8-beta' into skin-bones 2019-05-16 11:28:40 +02:00
NathanSweet
70cdf2dd9a [libgdx] Don't apply slot timelines if the bone is not active or constraint timelines if the constraint is not active. 2019-05-15 22:31:44 +02:00
badlogic
603c9e2366 Fix for #1352. The last subsequent attachment timeline always mixes out to the setup pose. 2019-05-14 17:43:41 +02:00
NathanSweet
42c1c4a7b9 [libgdx] Constraints check if their target bone is active. 2019-05-13 20:12:40 +02:00
badlogic
576c1da32f [ts] Ported skin API changes, see #841. 2019-05-10 15:07:06 +02:00
NathanSweet
b71970afa6 Renamed visible to active. Added isActive to Updatable/bones/constraints. 2019-05-07 12:16:18 +02:00
NathanSweet
b3c2170ed2 Bone timelines do nothing if their bone is not active. 2019-05-06 14:56:30 +02:00
NathanSweet
7ee57dc46f Renderers need to skip slots where the bone is not visible. 2019-05-06 09:47:13 +02:00
NathanSweet
659c3901c3 Ensure ascendants of a bone in a skin are updated. 2019-05-03 22:37:46 +02:00
badlogic
8f6bc427ab Merge branch '3.8-beta' into skin-bones 2019-05-03 11:23:01 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
NathanSweet
b98469ec89 Changed JSON curve format and added more assumptions for omitted values. 2019-04-30 19:21:44 +02:00
NathanSweet
705195c348 Clean up. 2019-04-30 17:26:54 +02:00
NathanSweet
f0533b6093 Javadocs. 2019-04-30 16:28:21 +02:00
badlogic
f1e199b2bd Fixed Skin#copySkin to take into account parent meshes. 2019-04-30 16:09:49 +02:00
badlogic
ff5b854860 More skin API refactoring. 2019-04-30 15:57:37 +02:00
NathanSweet
ab2b08f583 Fixed attachment timeline test. 2019-04-30 15:46:15 +02:00