1810 Commits

Author SHA1 Message Date
John
5cceb22406 [unity/tk2d] Update editor code. Some cleanup and fixes. (#608)
* Initial cleanup and review.

* More cleanup and review.

* Removed missing atlas warnings for TK2D. Better button labels. Separated specialized/utility shaders.

* Clearer wording. More checks.

* Fix for Inspector reflowing between GUI events.

* Basic TK2D warning message.

* Fix play buttons. Removed useless reimport button for TK2D. Minor fixes.
2016-06-10 16:40:10 +08:00
John
2a6e2b8dfc Add missing setup value for TransformConstraint. 2016-06-07 11:12:27 +08:00
NathanSweet
66b7581516 Clean up. 2016-06-06 14:13:53 +02:00
olssonfredrik
1f4b6b1508 Fixed a bug where ffd would never be used. (#602)
Float32Array.length is read only and will not resize the array. This caused the .length to always be 0 and thus not use ffd in spine.WeightedMeshAttachment.computerWorldVertices(). This proposed fix instead creates a new array when the size has changed.
2016-06-06 14:13:58 +02:00
Svoka
1ea57900c5 Fixing bugs in Lua runtime; adding support for meshes in Corona runtime; adding spineboy-mesh demo (#600)
Bugs:

* ffd animation was ignoring last frame. Lua has 1-based arrays, so last frame is `frames[#frames]`, not `frames[#frames - 1]`
* nil exception when accessing array lenght after it's confirmed nil. First we check if `not vertices` and in next statement we're trying to check for it's length, which causes exception. This code is logically equivalent to code before but avoids checking potentially nil array for length.
2016-06-04 16:12:43 +02:00
John
89fa5bd6eb Fix default bone shear. 2016-06-02 23:14:03 +08:00
NathanSweet
3442e43231 Updated readme.
#562
2016-06-01 02:25:08 +02:00
John
f1406e2f85 Update spine-csharp to v3.2 (shearing) (#562)
* spine-csharp updated to 3.2.00.

* Some cleanup, catchup and fixes.

* Mix transform constraint scale and shear offsets.

* Update readmes.

* Clean up.

* Formatting.

* Fixed single bone IK with nonuniform scale. Improved two bone IK.
2016-06-01 02:25:30 +02:00
NathanSweet
05d60e5377 Clean up.
#565
2016-06-01 01:46:27 +02:00
serhtt
972f70c6ac fix memory leak(Cocos2dAttachmentLoader) (#565) 2016-06-01 01:38:12 +02:00
John
4b9d1b4f69 [Unity] Ragdoll fix (#596)
* Initial cleanup.
* More cleanup and debugging. Not fixed yet, but core task identified (probably).
* [Unity] Fixed Ragdoll2D and copied to 3D.
2016-06-01 00:05:08 +08:00
John
b6e502d653 [Unity] SkeletonDataAssetInspector minor fixes. 2016-05-31 19:33:02 +08:00
John
c7c2715ce8 Updated .gitignore to ignore build dirs of C runtime 2016-05-25 10:13:13 +02:00
NathanSweet
d7633706e7 spine-js, fixed FfdTimeline. 2016-05-20 02:00:36 +02:00
NathanSweet
419982695f Merge remote-tracking branch 'origin/master' 2016-05-20 01:54:01 +02:00
NathanSweet
a8c5f2dc17 spine-js, fixed draw order.
closes #575
2016-05-20 01:51:58 +02:00
John
a2729ce3d0 Opt-in C# events for SkeletonAnimator. 2016-05-19 11:18:52 +08:00
John
dba0245753 Opt-in C# events for SkeletonAnimator. 2016-05-19 11:03:42 +08:00
NathanSweet
37ef9ec176 Merge remote-tracking branch 'origin/master' 2016-05-13 11:16:01 +02:00
NathanSweet
eecb22064e spine-as3, more efficient Flash rendering. 2016-05-13 11:14:22 +02:00
John
0b00800e39 [Unity] Update basic json validity check. 2016-05-13 13:03:33 +08:00
John
e5b36f4180 [Unity] Update serialized custom materials
* SkeletonRendererCustomMaterials: correctly reapply changes when slot name changes (#554)
* Made sure private methods are private. Editor uses reflection.
* Also removed public properties.
2016-05-13 12:47:02 +08:00
NathanSweet
c4d2937b6a spine-js, fixed reading mesh JSON.
closes #573
2016-05-12 21:32:00 +02:00
NathanSweet
0e412695a8 spine-as3, fixed using multiple skeleton instances with Flash. 2016-05-12 14:14:30 +02:00
pharan
4a36a95f06 [Unity] Remove dynamic meshes in prefabs by default. 2016-05-12 13:31:25 +08:00
NathanSweet
655708718b Updated README, canvas doesn't have tinting. 2016-05-11 13:34:38 +02:00
NathanSweet
04552b74e5 Clean up. 2016-05-11 13:21:59 +02:00
NathanSweet
6271128587 Shouldn't be committing binary files.
Need better solution!
2016-05-11 13:13:10 +02:00
NathanSweet
f8fe6c3246 Merge remote-tracking branch 'origin/master' 2016-05-11 13:12:00 +02:00
NathanSweet
a1554a3b42 spine-starling, fixed batching when not visible.
closes #416
2016-05-11 13:11:56 +02:00
NathanSweet
a9342ed193 Fixed spine-starling batch flushing.
closes #392
closes #507
2016-05-11 13:06:45 +02:00
NathanSweet
93bc7080f1 Fixed bounds.
closes #440
2016-05-11 12:48:11 +02:00
qinghong.sheng
16e900934f fix a mistake (#566)
* fix a mistake

* fix a mistake
2016-05-10 12:48:02 +02:00
John
f695cf19c2 [Unity] Fixed no renderables causing errors. 2016-05-09 03:18:07 +08:00
NathanSweet
d7fb4f35ec Merge remote-tracking branch 'origin/master' 2016-05-06 23:09:54 +02:00
NathanSweet
1be89d1c57 Fixed single bone IK with nonuniform scale. Improved two bone IK. 2016-05-06 23:09:50 +02:00
John
e493054028 [Unity] Cleanup SkeletonUtilityKinematicShadow. 2016-05-04 19:22:34 +08:00
John
4e730f0209 Spine.Unity namespace. 2016-05-03 21:37:15 +08:00
NathanSweet
a92b54b7f0 Clean up. 2016-04-29 23:18:01 +02:00
NathanSweet
55f6db3af9 Mix transform constraint scale and shear offsets. 2016-04-29 20:02:50 +02:00
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
506dc49d8a Fixed spAttachmentLoader_configureAttachment being called too soon for linked meshes. 2016-04-21 16:15:40 +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. 3.1.07 2016-04-19 20:51:52 +02:00
NathanSweet
2d03ac50a6 spine-js updated to v3.1. Also spine-threejs and spine-turbulenz. 2016-04-19 20:51:25 +02:00
NathanSweet
f42d6afece Merge remote-tracking branch 'origin/master' 2016-04-19 11:17:31 +02:00