740 Commits

Author SHA1 Message Date
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
6f1fbb004d Fixed error setting triangles.
Submesh index stuff should be solid now.
closes #130, merged manually
2013-10-01 19:36:29 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
6957f68df2 Fixed spine-js loading latest format. Additive blending for spine-turbulenz and spine-love. 2013-09-30 15:06:41 +02:00
NathanSweet
a5008e221e Additive blending for spine-lua and spine-corona. 2013-09-30 14:50:04 +02:00
NathanSweet
e8ff8fd1f3 Fixed empty property value. 2013-09-30 14:44:08 +02:00
NathanSweet
52696c2607 Fixed setting animation name without looping. 2013-09-30 14:31:26 +02:00
NathanSweet
0fb51b3869 Minor updates. 2013-09-30 11:32:05 +02:00
NathanSweet
8fca7bf3ba Minor cleanup. 2013-09-30 01:20:57 +02:00
NathanSweet
37035c4a0f Additive blending for cocos2d and cocos2dx. 2013-09-30 00:54:21 +02:00
NathanSweet
e4358cf904 Fixed ("fixed") Android rendering, #33. 2013-09-30 00:54:09 +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
8e4f1e5f49 Removed non-uniform scale from dragon for Corona. 2013-09-29 17:01:06 +02:00
NathanSweet
19918edfe7 Better Corona examples. 2013-09-29 16:50:48 +02:00
NathanSweet
c867a1f29e Allow latest JSON format to be loaded. 2013-09-29 16:50:27 +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
4852fdca14 Renamed clearAnimation to clearTracks. 2013-09-28 20:33:56 +02:00
NathanSweet
10fa956f39 Fixed clearAnimation(int) crash. 2013-09-28 20:30:36 +02:00
NathanSweet
b854dd94c3 Fixed bugs with timeScale. 2013-09-28 20:22:56 +02:00
NathanSweet
ba60fb99bd Draw quads before resizing.
#33
2013-09-28 10:02:43 +02:00
NathanSweet
fc92128519 Time scale, per AnimationState and per track. 2013-09-28 01:43:06 +02:00
NathanSweet
821c9ea38b Fixed crash from freeing previous twice. 2013-09-28 01:37:08 +02:00
NathanSweet
c65830aa85 Fixed whitespace stripped regions. 2013-09-28 01:19:44 +02:00
NathanSweet
59db3c834b Merge branch 'origin/master' 2013-09-28 01:15:43 +02:00
NathanSweet
115a7300ba Add dragon example. 2013-09-28 00:22:58 +02:00
NathanSweet
9556eeb306 Update spineboy to show off keyable draw order, etc. 2013-09-27 23:56:43 +02:00
NathanSweet
364f1ff174 Default inherit to true. 2013-09-27 23:56:08 +02:00
Nathan Sweet
93c60a0bdf Merge pull request #128 from halfjust/master
Fixed problem with alpha in animations
2013-09-27 12:54:00 -07:00
halfjust
f185d753ad Fixed problem with alpha in animations
Starling 1.4
info: The animations with alpha property were flashing
2013-09-27 15:53:59 -03:00
NathanSweet
832b0f02aa C# style method and class docs.
closes 127
2013-09-27 14:48:54 +02:00
NathanSweet
325babbb3b Added new files to iOS project. 2013-09-27 14:27:42 +02:00
NathanSweet
58545382fc Fixed reading ints. 2013-09-27 14:03:07 +02:00
NathanSweet
a7913e35ba Better example. 2013-09-27 11:41:23 +02:00
NathanSweet
18ff56549f Allow null for setAnimation. 2013-09-27 11:41:14 +02:00
NathanSweet
916b7d01de cocos2d ObjC style AnimationState event callback for CCSkeletonAnimation. 2013-09-27 11:40:54 +02:00
NathanSweet
86f8c564a4 Minor update. 2013-09-27 09:38:10 +02:00
NathanSweet
8674909fab Removed extern. 2013-09-27 08:47:46 +02:00
NathanSweet
957f5a539e Renamed setListener to setAnimationListener. 2013-09-26 22:55:17 +02:00
NathanSweet
9443ecb09c cocos2dx style AnimationState event callback for CCSkeletonAnimation. 2013-09-26 21:44:22 +02:00
NathanSweet
067a84339b spine-cocos2dx updated to latest spine-c API.
This has some API breakage, sorry. The new AnimationState now handles multiple "tracks", which makes it easier to apply and queue multiple animations at the same time, no longer do we need multiple AnimationStates.
2013-09-26 12:14:55 +02:00
NathanSweet
5b2dfe3311 Fixed AnimationState mixing. 2013-09-26 11:35:47 +02:00
NathanSweet
b6cf39665d Nix printf. 2013-09-26 11:28:26 +02:00
NathanSweet
f8401d954a Compile with C89. 2013-09-26 11:24:40 +02:00