95 Commits

Author SHA1 Message Date
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
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
c65830aa85 Fixed whitespace stripped regions. 2013-09-28 01:19:44 +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
63f8e4ddaf Keyable draw order for spine-c. 2013-09-24 11:29:58 +02:00
NathanSweet
2b86668f4e More efficient draw order when bind pose order is keyed. 2013-09-24 11:10:10 +02:00
NathanSweet
04ba16e221 Fixed rotating UVs the wrong way. 2013-09-23 15:43:10 +02:00
NathanSweet
8bd2171250 Minor changes. 2013-09-23 11:21:44 +02:00
NathanSweet
19bb6a202a Support for rendering via PolygonSpriteBatch. 2013-09-20 19:48:14 +02:00
NathanSweet
9aed300bc9 updateVertices -> updateWorldVertices to match bounding boxes. 2013-09-20 19:47:58 +02:00
NathanSweet
58d66e626b SkeletonBounds refactored so state is not stored in BoundingBoxAttachment. 2013-09-20 19:47:29 +02:00
NathanSweet
8883f73a10 Event timeline fixed to fire events correctly for edge cases. 2013-09-20 19:47:00 +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
318a3c8ece Bounding box support. 2013-09-04 00:25:46 +02:00
NathanSweet
4b7a9633a7 Better draw order key loading. 2013-08-20 17:56:53 +02:00
NathanSweet
f174b1a3cb Keyable draw order and other fixes. 2013-08-19 23:10:11 +02:00
NathanSweet
acf515cbb6 Better lastTime calculation. 2013-08-15 12:03:02 +02:00
NathanSweet
35ec341907 Fixed removing queue listener. 2013-08-14 17:04:55 +02:00
NathanSweet
2abccc497e Allow removing current and queued listeners. 2013-08-14 16:45:18 +02:00
NathanSweet
6e328e3cbd Changed listener to interface. 2013-08-14 16:14:08 +02:00
NathanSweet
9ee2a1c1c0 Events added to binary. 2013-08-13 15:32:32 +02:00
NathanSweet
e1c5d9b0c6 Fixed event timeline with 1 event. 2013-08-13 15:32:09 +02:00
NathanSweet
1180cee47c Per animation listener. 2013-08-10 22:20:16 +02:00
NathanSweet
354d3b75d6 Event timeline. 2013-08-08 22:57:57 +02:00
NathanSweet
c202fc5d85 Fixed premultiplied alpha. 2013-08-04 18:38:02 +02:00
NathanSweet
99bafd2971 Better premultiplied alpha support. 2013-08-04 17:51:37 +02:00
NathanSweet
1200d549bb Support premultiplied alpha. 2013-08-02 18:08:37 +02:00
NathanSweet
876233c246 Fixed getWorldTransform. 2013-07-21 01:27:13 +02:00
NathanSweet
c060aec351 Added box2d example. 2013-06-28 10:41:10 +02:00
NathanSweet
dab2ee8f76 Fixed Bone getWorldTransform. 2013-06-28 10:40:51 +02:00
NathanSweet
dcbd87d90a Added defaultMix to AnimationStateData. 2013-06-13 20:00:25 +02:00
NathanSweet
bb403132c0 Updated goblins atlas to have rotation. 2013-06-12 01:33:41 +02:00
NathanSweet
7a08bad7c7 Minor updates. 2013-06-11 19:45:05 +02:00
NathanSweet
d11f6b6864 Fixed libgdx examples for recent skeleton x/y and flip changes. 2013-06-02 13:57:39 +02:00
NathanSweet
e6d7cf8b26 Add x and y to skeleton for positioning instead of using root bone. 2013-05-28 18:17:55 +02:00
Nathan Sweet
c4848d1340 Merge pull request #49 from MobiDevelop/libgdx-gwt
Add GWT module definition
2013-05-24 02:25:53 -07:00
NathanSweet
d237ed758b Cleaned up warnings, #50. 2013-05-24 11:24:22 +02:00
NathanSweet
a383c85862 Updated binary example file. 2013-05-22 06:52:35 +02:00