50 Commits

Author SHA1 Message Date
badlogic
751c6e23db [lua] Added event volume and balance, see #1171. 2018-09-06 15:57:27 +02:00
badlogic
3e8cb852bb [lua] Ported addition of uniform/compressed IK and rotation fix. 2018-08-23 15:47:50 +02:00
badlogic
fd7b0caec4 [lua] Ported stretchy IK. 2018-08-14 16:12:15 +02:00
badlogic
71a50183c7 [lua] Manually merged PR #1103. 2018-06-07 17:26:37 +02:00
badlogic
c496c0aa08 [lua] Fixed typo in SkeletonJson, closes #893 2017-05-08 12:38:31 +02:00
badlogic
1fafbd0cb7 [corona] Added coin sample, added clipping attachment loading, fixed bug in Corona renderer. 2017-05-03 14:45:25 +02:00
badlogic
8f923971ce [lua][love] Two color tinting, one bug remaining, works otherwise. 2017-03-13 17:05:08 +01:00
badlogic
0a2ca732cd [lua][corona] Ported 3.6 changes except TransformConstraint update 2017-02-22 14:40:55 +01:00
badlogic
88228e8bd9 [lua] Closes #754, passed wrong type to getValue in SkeletonJson 2016-11-09 09:31:42 +01:00
badlogic
bb7e474f7a [lua][ts] Ported some post 3.5 changes 2016-11-01 14:39:43 +01:00
badlogic
e586b0fd09 [lua] Ported changes to Animation.java, main.lua updated to use new callbacks 2016-10-31 15:21:56 +01:00
badlogic
7cd0cd5fde [lua] First pass on 3.5 update, only Skeleton:updateCache and updateWorldTransform missing 2016-10-19 15:21:10 +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
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
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
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
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
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
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
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
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
b5b48cc204 Fixed draw order. 2013-12-22 19:38:43 +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
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
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
2e88c59280 Fixed animations without bone keys. 2013-08-16 17:45:16 +02:00
Matias
96ff408022 more reformatting 2013-06-13 16:13:53 +03:00
Matias
64cb985e93 fix tabs 2013-06-13 14:40:40 +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
09ff781a9a Add Lua support for reading scale and rotation inheritance 2013-05-28 20:43:11 +03:00
NathanSweet
cef7e46e5b Variable should be local. 2013-05-24 13:54:19 +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