2244 Commits

Author SHA1 Message Date
NathanSweet
b41dead263 Path constraint refactoring + position mode. 2016-06-06 17:29:44 +02: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
NathanSweet
2bb702e2be BOZO removal. 2016-06-06 12:38:01 +02:00
NathanSweet
932808bd06 Minor improvements.
Think she's done! Just need 3 path timelines.
2016-06-06 11:52:49 +02:00
NathanSweet
5cfa647ce2 Added path constraint spacing, spacing mode, rotate mode. 2016-06-06 11:30:50 +02:00
NathanSweet
b3fdaca019 Fixed child IK bone not being updated when IK mix = 0. 2016-06-05 01:44:35 +02:00
NathanSweet
7729d423f7 Improved non-constant speed paths. 2016-06-05 01:36:32 +02:00
NathanSweet
633432647b Clean up, optimization. 2016-06-05 00:58:07 +02:00
NathanSweet
3d8b674444 Removed appliedScaleX/Y.
These existed because TransformConstraint used to manipulate the local transform. Now that it manipulates the world transform, they aren't used.
2016-06-05 00:57:49 +02:00
NathanSweet
7e7aaad550 Clean up. 2016-06-05 00:56:56 +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
NathanSweet
b94e04a7a5 Don't change IK constraint indices. 2016-06-03 22:38:10 +02:00
NathanSweet
99c41f7581 Removed resetChildren. 2016-06-03 22:14:05 +02:00
NathanSweet
5dcf6b3b02 Update cache now handles all constraint configurations.
Can also apply constraints in a specific order, except for IK which must always be first.
2016-06-03 21:46:02 +02:00
John
89fa5bd6eb Fix default bone shear. 2016-06-02 23:14:03 +08:00
NathanSweet
8538e793d6 Clean up, convenience methods to get local rotation from world. 2016-06-01 15:58:50 +02:00
NathanSweet
86e9a75846 Improved updateLocalTransform. 2016-06-01 14:44:11 +02:00
NathanSweet
a990d6dfdd Clean up. 2016-06-01 02:37:41 +02: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
NathanSweet
bcee9ede8d Improved parameter checking. 2016-05-31 18:08:48 +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
NathanSweet
de2b7674c4 Better use of constants, formatting. 2016-05-31 17:52:43 +02:00
John
b6e502d653 [Unity] SkeletonDataAssetInspector minor fixes. 2016-05-31 19:33:02 +08:00
NathanSweet
62ae3c83b5 Optimizations. 2016-05-31 01:46:38 +02:00
NathanSweet
c4810e23d6 Path constraint optimization. 2016-05-29 05:58:23 +02:00
NathanSweet
cdbc878f31 Scale mix for path constraints. 2016-05-29 02:33:14 +02:00
NathanSweet
05b3e66dc0 Start of multi bone path constraints. 2016-05-28 20:30:12 +02:00
NathanSweet
e50b591558 Added updateLocalTransform. 2016-05-28 01:34:02 +02:00
NathanSweet
1fa2b35e09 Clean up. 2016-05-28 01:33:45 +02:00
NathanSweet
463020e254 Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:58:31 +02:00
NathanSweet
ceb86b597b Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:57:29 +02:00
NathanSweet
4748b5bbea Fixed close path looping. 2016-05-26 13:36:50 +02:00
NathanSweet
903fbf1340 Clean up. 2016-05-26 02:18:53 +02:00
NathanSweet
00c5313bd1 Support for path constraint rotation, closed paths, outside curve position. 2016-05-25 17:19:35 +02:00
John
c7c2715ce8 Updated .gitignore to ignore build dirs of C runtime 2016-05-25 10:13:13 +02:00
NathanSweet
c406e44785 Improved vertex attachment, paths. 2016-05-25 01:16:37 +02:00
NathanSweet
c976f8038b Fixed IK mix rotating the wrong direction. 2016-05-25 01:16:11 +02:00
NathanSweet
a84e3379d8 Much better paths. 2016-05-23 04:07:33 +02:00
NathanSweet
ee29123dfa Spine v3.3 WIP 2016-05-21 00:40:07 +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