1088 Commits

Author SHA1 Message Date
NathanSweet
3ab08eadd2 Allow customizing file to load from CLI. 2014-03-06 20:40:15 +01:00
NathanSweet
fa52abc780 Fancier SkeletonTest for trying skeleton files, organized assets. 2014-02-27 19:41:07 +01:00
NathanSweet
7570e0a18c Adjusted order objects are read. 2014-02-27 19:39:29 +01:00
NathanSweet
89b29177ba Better color computation. 2014-02-13 12:25:38 +01:00
NathanSweet
6e3a254aac Comment. 2014-02-09 17:02:14 +01:00
NathanSweet
58472318a9 Added setScale. 2014-01-31 00:54:58 +01:00
NathanSweet
99a5250855 Javadoc 2014-01-28 12:58:27 +01:00
NathanSweet
68d829556a Added getter for tracks.
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1982
2014-01-26 16:46:30 +01:00
NathanSweet
661a0436bc Documentation 2014-01-20 04:51:20 +01:00
NathanSweet
9f19d9af39 FFD 2014-01-15 04:16:36 +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
ba0d48eda8 Avoid reflection. 2013-12-22 23:34:08 +01:00
NathanSweet
1c9973ef1d MeshAttachment support. 2013-12-21 18:49:23 +01:00
NathanSweet
f087d56da6 Added SkeletonAttachment.
Spine doesn't export this attachment type, but it can be used at runtime.
2013-12-21 18:46:24 +01:00
NathanSweet
5ef80af12e Fixed binary path. 2013-12-06 12:37:54 +01:00
NathanSweet
ad6a3a0736 Fields shouldn't be public. 2013-12-01 12:12:48 +01:00
NathanSweet
719e09d443 Fixed root translation with yDown coordinates.
http://www.esotericsoftware.com/forum/viewtopic.php?f=9&t=1657
2013-11-30 16:01:57 +01:00
NathanSweet
3977ce93e2 Path for RegionAttachment. 2013-11-30 15:57:54 +01:00
NathanSweet
57c94b51d7 Changes for libgdx Batch refactoring. 2013-11-30 15:55:35 +01:00
NathanSweet
d8a3f2231c Refactored AttachmentLoader, allowing parameters per attachment type. Added attachment path. Added per attachment color. 2013-11-07 21:48:36 +01:00
NathanSweet
8d991356fe Normal map for eyes. 2013-11-02 09:40:46 +01:00
NathanSweet
d8300a98ce New diffuse and normal map. 2013-11-01 14:41:54 +01:00
NathanSweet
1811e388af Removed rotation from the atlas used by the normal mapping test. 2013-11-01 13:10:08 +01:00
NathanSweet
654df6ac64 Unused import. 2013-10-31 14:00:54 +01:00
NathanSweet
09a0ac5bbc Example showing lighting with normals. 2013-10-31 13:36:11 +01:00
NathanSweet
284ac9a5be Comment. 2013-10-30 11:28:57 +01:00
NathanSweet
b7f7703804 Removed updateWorldTransform call which isn't needed since it is done in render. 2013-10-29 20:09:23 +01:00
NathanSweet
34080ecf59 Added Camera, SkeletonBounds, comments. 2013-10-29 20:06:24 +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
d0a65081df Clean up. 2013-10-12 12:42:18 +02:00
NathanSweet
9f4def5b40 Javadocs 2013-10-12 11:38:24 +02:00
NathanSweet
f3be613429 Fixed clearing tracks in event callbacks. 2013-10-10 18:49:16 +02:00
NathanSweet
97f9b7e4d2 Fixed clearing tracks in event callbacks.
closes #134
2013-10-10 10:15:53 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
748431b4f6 Allow null firedEvents. 2013-10-03 21:32:57 +02:00
NathanSweet
981e7a1371 Fixed last event being fired too many times. 2013-10-03 20:33:03 +02:00
NathanSweet
edb50113ea Better resetting of pooled TrackEntrys. 2013-10-03 20:05:27 +02:00
NathanSweet
bc259b390e Fixed lastTime not being set. 2013-10-03 20:03:11 +02:00
NathanSweet
45c3487098 Events list is now required.
Simplifies applying the event timeline and isn't hard to supply.
2013-10-02 14:10:55 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
2dc486b2d5 Fixed first event not getting fired.
Damn this is hard to get exactly right!
2013-09-29 23:42:55 +02:00
NathanSweet
af5aca8b66 Changed when events are fired.
Events are now fired from lastTime (exclusive) to time (inclusive). This allows an event at the end of an animation to be fired before the next animation starts. The "complete" callback will happen before the event though, because "complete" happens in update() and events are triggered in apply().

Note events are not fired for the previous animation during mixing (crossfading).
2013-09-29 23:22:55 +02:00
NathanSweet
308e18b376 Fixed event timeline missing first event. 2013-09-29 22:51:08 +02:00
NathanSweet
b132231034 Scale bounding boxes on load. 2013-09-28 23:33:41 +02:00