46 Commits

Author SHA1 Message Date
NathanSweet
52420e8a37 Fixed bounding boxes when slot has no attachment. 2013-11-08 22:56:08 +01:00
NathanSweet
35810a5961 Comments. 2013-11-04 22:11:01 +01:00
scape
70193d6e39 Slot and animation - color/alpha out of range fix. Normalizing color and alpha during load as both need to be in 0-1 range in the main loop. 2013-11-04 17:49:30 +01:00
NathanSweet
a9315d46f3 Fixed animation state delay when not set right away. 2013-10-22 11:41:57 +02: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
dbd6ae87ad Moved firing complete event to apply. Fixed missing keys on last frame when animation changes. 2013-10-17 16:06:18 +02:00
NathanSweet
3a1aac897c Better delay adjustment. 2013-10-17 01:13:22 +02:00
NathanSweet
c25809fa4f When delay is <= 0 use remaining time, not just duration.
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1447
2013-10-16 11:04:29 +02:00
NathanSweet
ed4cf32726 spine-lua: bounding boxes. 2013-10-13 17:08:26 +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
a5008e221e Additive blending for spine-lua and spine-corona. 2013-09-30 14:50:04 +02:00
NathanSweet
8fca7bf3ba Minor cleanup. 2013-09-30 01:20:57 +02:00
NathanSweet
c867a1f29e Allow latest JSON format to be loaded. 2013-09-29 16:50:27 +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
90b0233e4b Tabs. Always tabs. 2013-08-17 12:25:39 +02:00
NathanSweet
2e88c59280 Fixed animations without bone keys. 2013-08-16 17:45:16 +02:00
NathanSweet
59513b4afa Added skeleton RGBA tint. 2013-07-30 20:50:00 +02:00
NathanSweet
6de19dc914 Added AnimationState to spine-lua. 2013-07-24 03:56:18 +02:00
NathanSweet
0c2fd492de Fixed #86. 2013-07-21 01:29:26 +02:00
Matias
96ff408022 more reformatting 2013-06-13 16:13:53 +03: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
64cb985e93 fix tabs 2013-06-13 14:40:40 +03:00
Matias
776cc3958d only update attachments if they change 2013-06-13 14:40:35 +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
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
7444797839 Fixed setSkin. 2013-05-31 10:40:26 +02:00
Matias
09ff781a9a Add Lua support for reading scale and rotation inheritance 2013-05-28 20:43:11 +03:00
Matias
fb21554a49 Add Lua support for inheriting scale and rotation 2013-05-28 20:41:45 +03:00
NathanSweet
22fabe8769 Forgot to flip the root bone for some runtimes since the skeleton is now placed separately from the root bone. 2013-05-28 18:22:06 +02:00
NathanSweet
cef7e46e5b Variable should be local. 2013-05-24 13:54:19 +02:00
NathanSweet
567c7110b1 Added findBone. 2013-05-09 18:23:23 +02:00
NathanSweet
3736352c09 Fixed flip x/y for root bone. (reverse-merged from commit 64fd34ba9426e2c7637526b1029721000c14ad5b)
#43
2013-05-08 13:01:10 +02:00
NathanSweet
113ef3546a Fixed flipping, Lua doesn't have ternary of course. 2013-05-07 15:31:30 +02:00
NathanSweet
64fd34ba94 Fixed flip x/y for root bone. 2013-05-06 14:26: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