845 Commits

Author SHA1 Message Date
badlogic
6850a019ec Updated examples again, final binary format change. 2019-06-19 18:02:20 +02:00
badlogic
5f13f1b8e6 Exported all examples with 3.8.25-beta to include file format changes in .json and .skel files. 2019-06-19 16:56:47 +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
badlogic
8d52356475 Merge branch '3.8-beta' of https://github.com/EsotericSoftware/spine-runtimes into 3.8-beta 2019-06-13 15:58:24 +02:00
badlogic
5d974e4480 Added mix-and-match assets, modified export scripts, added libGDX sample. See #1375. 2019-06-13 15:58:16 +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
0b6a3139c5 [libgdx] JsonRollback, add some attributes that are now optional. 2019-06-05 15:51:35 +02:00
badlogic
03fe2c4779 Merge branch '3.8-beta' of https://github.com/EsotericSoftware/spine-runtimes into 3.8-beta 2019-06-05 11:20:52 +02:00
badlogic
1ec6e26b71 Updated example exports and copies in runtime example projects to the latest .json and .skel formats. 2019-06-05 11:20:43 +02:00
NathanSweet
14aa093d2d [libgdx] JsonRollback tool clean up. 2019-06-05 10:17:16 +02:00
NathanSweet
c98ed30ebb [libgdx] Updated JsonRollback tool to go from 3.8 JSON to 3.7. 2019-06-05 10:05:31 +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
NathanSweet
d5f5ff004f [libgdx] SkeletonViewer, reload if the atlas file changes. 2019-05-13 19:54:59 +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
4f3d2d8057 Merge branch '3.7' into 3.8-beta 2019-05-03 10:53:34 +02:00
badlogic
849e9acc7e Updated READMEs. 2019-05-03 10:51:33 +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
badlogic
3281d8c006 Merge branch 'skin-bones' of https://github.com/esotericsoftware/spine-runtimes into skin-bones 2019-04-30 15:35:52 +02:00
NathanSweet
9d41645b57 Don't write skin bones/constraints for the default skin. 2019-04-30 15:36:48 +02:00