29 Commits

Author SHA1 Message Date
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
e114f04bba Don't mix from uninitialized slot vertices.
Related to 27bab7bb951650c50c98b3b9b7bcc1fcb90c1570.
2016-03-29 03:14:03 +02:00
Steven Johnson
48f8ea1707 FFD fixes
Mesh attachment

Animation fixes (still seem to be timing issues looping frames)

Fix for loading default skin

Zeroing out vertices when loading

Miscellaneous indexing and name issues
2016-02-23 16:30:35 -06: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
ee849c62eb Fix mixing from uninitialized slot vertices. 2015-01-30 15:40:13 +01:00
NathanSweet
66dee75951 Fixed spine-lua IK timelines. 2014-11-17 23:06:52 +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
eafcc2829f Fixed EventTimeline.
#300
2014-09-30 01:25:35 +02:00
NathanSweet
3ed7fb6865 Changed how scale is applied.
Scale is now multiplicative, as it was intended to be.
http://esotericsoftware.com/forum/viewtopic.php?p=16259#p16259
This change means skeletons need to be exported again using Spine 2.0.00+.
2014-09-24 16:14:42 +02: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
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
af5ff6c11f Fixed events not firing sometimes.
http://www.esotericsoftware.com/forum/viewtopic.php?f=9&t=1462
2013-10-20 12:18:01 +02:00
NathanSweet
a793d2bfa6 spine-lua: keyable draw order, events, new AnimationState. 2013-10-13 14:31:07 +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
Matias
97097943a8 more reformatting and ignoring of old non-fixed stuff.. 2013-06-13 16:12:59 +03:00
Matias
1ea5aa54f0 fix some screwups and formatting, restore find-functions 2013-06-13 16:10:43 +03:00
Matias
3a0ba4a70a if there is no attachment, remove it also.. 2013-06-13 15:39:15 +03:00
Matias
e334e0123c remove useless condition 2013-06-13 14:52:52 +03:00
Matias
2fb6081a17 fix tabs 2013-06-13 14:50:31 +03:00
Matias
776cc3958d only update attachments if they change 2013-06-13 14:40:35 +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
Matias
a92419193f fix typo(?) in colortimelines using color.r instead of slot.r when using alpha 2013-06-03 10:49:29 +03:00
Matias
9963293c88 make sure animation duration is not 0 when figuring out the time 2013-06-03 10:48:44 +03:00
NathanSweet
9e49979db1 spine-lua generic Lua runtime, refactored spine-corona. 2013-04-19 10:54:15 +02:00