703 Commits

Author SHA1 Message Date
John
7699e9b28f Fixed "CompleteDelete" typo in C# event delegates
Supposed to be "CompleteDelegate"?
2014-01-31 01:33:46 +08:00
NathanSweet
4216077c0e Better AnimationState event delegates. 2014-01-26 21:08:09 +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
2b241c3628 Fixed root bone translation.
Again.
2014-01-17 00:58:29 +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
63f20379db Better root flipY logic. 2013-12-05 14:52:34 +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
e5aca584a2 Avoid boxing in Skin dictionary.
closes #156
2013-11-07 13:56:16 +01:00
NathanSweet
6a6285aa6f Added nuget. 2013-10-25 12:00:49 +02:00
NathanSweet
2e46d250e5 Moved Polygon into the Spine namespace. 2013-10-23 19:04:02 +02:00
NathanSweet
a9315d46f3 Fixed animation state delay when not set right away. 2013-10-22 11:41:57 +02:00
NathanSweet
6be3dbb7ed Fixed spine-csharp. 2013-10-20 22:37:03 +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
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
Liquidoodle
b51a110c54 Fixed file loading for XNA on Windows Phone 7. 2013-10-10 18:02:50 +01:00
NathanSweet
f3be613429 Fixed clearing tracks in event callbacks. 2013-10-10 18:49:16 +02:00
NathanSweet
7bd9eeeee6 Use 3 arg Enum.Parse. 2013-10-10 16:02:50 +02:00
NathanSweet
97f9b7e4d2 Fixed clearing tracks in event callbacks.
closes #134
2013-10-10 10:15:53 +02:00
Nathan Sweet
90c49a86f4 Merge pull request #133 from pharan/patch-3
changed findEvent to FindEvent (to match change in SkeletonData.cs)
2013-10-09 04:37:42 -07:00
John
2572a4ede9 changed findEvent to FindEvent (to match change in SkeletonData.cs) 2013-10-09 14:34:44 +08:00
John
402b3c862f changed findEvent to FindEvent (C# method naming) 2013-10-09 14:32:56 +08: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
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
5390d40093 Fixed spine-unity, spine-tk2d. 2013-09-29 22:15:25 +02:00
NathanSweet
b132231034 Scale bounding boxes on load. 2013-09-28 23:33:41 +02:00
NathanSweet
0c5e3b4400 Alternate Atlas constructor. 2013-09-28 21:39:45 +02:00
NathanSweet
3797b7b7b0 Clear a track if the last entry is non-looping and reached endTime. 2013-09-28 21:28:01 +02:00
NathanSweet
b854dd94c3 Fixed bugs with timeScale. 2013-09-28 20:22:56 +02:00
NathanSweet
fc92128519 Time scale, per AnimationState and per track. 2013-09-28 01:43:06 +02:00
NathanSweet
364f1ff174 Default inherit to true. 2013-09-27 23:56:08 +02:00
NathanSweet
832b0f02aa C# style method and class docs.
closes 127
2013-09-27 14:48:54 +02:00
NathanSweet
58545382fc Fixed reading ints. 2013-09-27 14:03:07 +02:00
NathanSweet
359b25d9d4 spine-tk2d and spine-unity updated to latest spine-csharp.
closes #120
closes #125
2013-09-26 10:02:17 +02:00
NathanSweet
98bf05c305 Minor cleanup. 2013-09-26 09:36:23 +02:00
NathanSweet
2df28f8564 More AnimationState refactoring, getting good!
#113
2013-09-25 19:39:48 +02:00
NathanSweet
0049b4f7b4 Refactored AnimationState to better support setting a to/from time.
#113
2013-09-25 12:13:57 +02:00
NathanSweet
1e30ad1b72 Reset draw order in setSlotsToSetupPose. 2013-09-25 10:17:35 +02:00
NathanSweet
8cec4eb354 Simplified SkeletonBounds AABB computation. 2013-09-24 15:37:46 +02:00
NathanSweet
dda304faa0 Renamed ComputeVertices to ComputeWorldVertices.
Sorry for the API breakage, but this is line with UpdateWorldTransform, BoundingBoxAttachment, and future attachments.
2013-09-24 15:37:29 +02:00