94 Commits

Author SHA1 Message Date
NathanSweet
e834982b49 Updated READMEs for v3.3 support. 2016-06-20 19:26:05 +02:00
Matthew
db2190e7db [LUA] AnimationState trackCount bugfixes (#466)
* resolved conflict

* made trackCount keep count, not maximum track index.
2016-06-17 20:11:41 +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
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
d0d7e64b43 Docs: added a note to runtimes that don't yet support the binary format. 2016-04-07 22:50:00 +02:00
Nathan Sweet
085468320d Merge pull request #491 from ficoos/patch-1
[LUA] Change null to nil
2016-04-04 15:02:52 +02:00
NathanSweet
4f3ccc2c51 List the supported editor version on each runtime README.
closes #526
2016-04-03 19:10:47 +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
Steven Johnson
678c6b1e14 Off-by-one error in skinned mesh attachment 2016-02-20 22:45:59 -06:00
Steven Johnson
aaa0c1f25d Added requires in attachment loader
Minor fixes for off-by-one indexing and loop counts for skinned meshes

Some fixes for names or counts, again for skinned meshes
2016-02-19 19:18:12 -06:00
NathanSweet
318b9939e6 Made consistent when slot vertices and attachment time are reset.
setAttachment resets vertices and attachment time only if the attachment actually changed. setToSetupPose always resets vertices and attachment time.

http://esotericsoftware.com/forum/Spine-API-SetToSetupPose-FFD-Questions-2102?p=26119#p26119
2016-01-15 07:02:09 +01:00
Saggi Mizrahi
87f5bedead Change null to nil
nil is the actual keyword. 'null' works in non strict mode as all undeclared variables are considered 'nil' in non strict mode.
2015-12-05 21:23:50 +02:00
NathanSweet
01cb844993 You get a license file, you get a license file, EVERYBODY GETS A LICENSE FILE! 2015-07-30 22:47:00 +02:00
NathanSweet
f06fbb3d8d Clarified licensing on runtimes pages. 2015-07-30 22:44:47 +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
f8a76c6455 Blend modes for all runtimes. 2015-04-02 14:20:20 +02:00
Charilaos Kalogirou
db0ec554ce return the proper local for the module 2015-02-08 11:54:37 +02:00
NathanSweet
028769f54f Fixed single bone IK with flipping and y-up coordinate systems. 2015-01-30 17:59:11 +01: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
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
22b2086f39 Flip for bones. Flip timelines now affect bones. "draworder" in JSON -> "drawOrder".
Falls back to "draworder" to not break existing JSON (for the time being).
2014-10-04 13:01:52 +02: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
8887677cd7 Missig function. 2014-05-23 16:21:41 +02:00
NathanSweet
81ae526a7b Meshes, FFD and skinning for spine-lua. 2014-05-23 12:37:55 +02:00
NathanSweet
2e266127a0 Carry over remaining time when playing queued animations.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2633
2014-05-15 20:11:09 +02:00
NathanSweet
638830a73e Start bones in setup pose. 2014-05-15 19:05:13 +02:00
Nathan Sweet
6b7ed29684 Merge pull request #192 from reaver/master
Update Corona Runtime for the new Graphics 2.0
2014-05-15 18:49:06 +02:00
NathanSweet
381ce3284a Fixed track entry mix not defaulting to 1. 2014-04-24 19:53:11 +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
c4a3de0e7f Bug fixes. 2014-03-17 18:42:58 +01:00
NathanSweet
df70264a5b Go back to clearing the entry after the "end" listeners.
Changing the AnimationState state from an "end" listener is problematic even when the entry is cleared before the listener, so better to make the track that is ending available to the listener.
2014-03-17 16:53:33 +01:00
NathanSweet
aff250daf4 Allow a track to mix with the track below.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2248
2014-03-09 12:06:36 +01:00
NathanSweet
211f82fedd Clear the track before calling end on the listener. 2014-03-08 00:20:26 +01:00
Matt
8788d29a4e Fixed bug in lua AnimationStateData. 2014-02-28 19:33:45 +01:00
Roman Szalla
fe82c0d1e6 Fix concatenation in errors 2014-02-11 23:41:27 +01:00
NathanSweet
661a0436bc Documentation 2014-01-20 04:51:20 +01:00
NathanSweet
f65be9ad21 Fixed license.
closes #169
2014-01-19 14:32:46 +01:00
NathanSweet
525ba52a6c Removed constants.
Constants weren't used for all names found the in the JSON, no point in doing it only for a few.
2014-01-13 18:09:48 +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
71956544ba Mix from closest animation if setting an animation during a mix. 2014-01-06 21:33:58 +01:00
NathanSweet
b5b48cc204 Fixed draw order. 2013-12-22 19:38:43 +01:00
NathanSweet
e80a4c7085 Fixed usage of pairs() where ordered iteration is needed.
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1660
2013-12-03 11:17:15 +01:00
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