35 Commits

Author SHA1 Message Date
badlogic
b443e6e609 [Lua] Fixed path constraint sorting and type check in case attachment of target is null. [cocos2dx] Fixed samples. 2017-06-19 17:49:01 +02:00
badlogic
0a2ca732cd [lua][corona] Ported 3.6 changes except TransformConstraint update 2017-02-22 14:40:55 +01:00
badlogic
343f144c93 [lua] Skeleton:setColor was wrong 2017-01-04 10:57:32 +01:00
badlogic
757b0e5172 [lua] Ported d77e1fbc53ba809b255db7ceda26f2c1f6c74739 2016-12-15 14:53:24 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
badlogic
6eb86fd3a1 [lua] Closes #739, forgot math_min/max assignemnts 2016-10-20 14:38:13 +02:00
badlogic
e93e9e77c4 [lua] Closes #739, bug in Skeleton:getBounds, need to nil check attachment 2016-10-20 14:37:24 +02:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
Mario Zechner
5b1814cff3 spine-lua, spine-love, spine-corona update to 3.4.02 (#722)
The spine-lua API has been updated to be compatible with Spine version 3.4.02 (latest stable). The spine-lua API now supports path constraints, transform constraints, uses the new way we encode meshes etc. There are no API breaking changes, only API additions, such as PathConstraints and TransformConstraints as well as additional methods to Skeleton and similar classes. The internals of the spine-lua API have also been updated to follow Lua best performance practices by localizing heavily and using meta tables for "class methods". The spine-lua API now also loads texture atlases as exported by Spine. All that is required for a consumer is to supply an image loading function for their specific engine/framework. We provide implementations for spine-love and spine-corona.

The spine-love API can now render all Spine attachment types, including meshes and linked meshes. The API has changed. Where previously a "class" Skeleton existed with a draw function, the new spine-love API introduces a new SkeletonRenderer. See the example on API usage.

The spine-corona API can now also render all Spine attachment types. The API has not changed.
2016-10-11 16:33:25 +02:00
NathanSweet
27270a5781 Spine Runtimes license update.
Minor update to fix "SOFTARE" typo and clairfy how to get permission.
2015-04-24 21:33:24 +02:00
NathanSweet
63801b6f13 setSkin docs. 2014-11-17 19:41:50 +01:00
NathanSweet
7c065a76e2 IK for spine-lua, spine-corona, spine-love. 2014-11-16 03:05:46 +01:00
NathanSweet
59204db7f8 Flip timelines for spine-lua, spine-corona, spine-love. 2014-11-16 00:05:01 +01:00
NathanSweet
81ae526a7b Meshes, FFD and skinning for spine-lua. 2014-05-23 12:37:55 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
Roman Szalla
fe82c0d1e6 Fix concatenation in errors 2014-02-11 23:41:27 +01:00
NathanSweet
b0c96fd66b Typo 2014-01-11 21:20:46 +01:00
NathanSweet
d520addb9b Updated license to version 2.
Version 1 of the license didn't make sense: it required a Spine license to use the Spine Runtimes at all. This means if you used the Spine Runtimes in your application, anyone who purchased a copy of your application also needed a Spine license to use the runtimes. This was not the intent!

Version 2 of the license fixes this by allowing anyone to use the Spine Runtimes but only for internal use. When you purchase Spine, the Spine license (http://esotericsoftware.com/spine/files/license.txt) grants you the right to make and distribute derivative works of the Spine Runtimes. Now it makes sense: making and distributing applications with the Spine Runtimes requires a Spine license, but anyone can run that software without needing a Spine license.

With this fixed, I hope we never need to change the license again!
2014-01-11 21:07:28 +01:00
NathanSweet
ed4cf32726 spine-lua: bounding boxes. 2013-10-13 17:08:26 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
e2fccf72d6 License update.
Changed from New BSD to a custom license. The new license requires a Spine license to use the code. If you have a valid Spine license, you can do whatever you like with the code. This should not be a problem for anyone using the runtimes with Spine, nothing changes. If using the runtimes without a Spine license, you now need a Spine license. This is because the runtimes were created explicitly to be used with Spine.
2013-09-20 19:46:23 +02:00
NathanSweet
59513b4afa Added skeleton RGBA tint. 2013-07-30 20:50:00 +02:00
NathanSweet
0c2fd492de Fixed #86. 2013-07-21 01:29:26 +02:00
Matias
1ea5aa54f0 fix some screwups and formatting, restore find-functions 2013-06-13 16:10:43 +03:00
Matias
d270c5e8da change name of nameIndices to slotNameIndices to reflect the contents better 2013-06-13 14:40:30 +03:00
Matias
c5016f0da0 remove findslotindex from skeletondata and make it into a table, for faster lookups 2013-06-13 14:40:23 +03:00
Matias
d69f514681 remove findslot from skeleton and make it into a table, for faster lookups 2013-06-13 14:40:15 +03:00
NathanSweet
7444797839 Fixed setSkin. 2013-05-31 10:40:26 +02:00
NathanSweet
567c7110b1 Added findBone. 2013-05-09 18:23:23 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00
NathanSweet
2c3453f4dd Fixed spine-corona skins, slots. 2013-04-27 13:51:31 +02:00
NathanSweet
9e49979db1 spine-lua generic Lua runtime, refactored spine-corona. 2013-04-19 10:54:15 +02:00