605 Commits

Author SHA1 Message Date
NathanSweet
271d0b630a Double buffer meshes.
Number 13:
http://docs.unity3d.com/Documentation/Manual/MobileOptimisation.html
2013-10-08 21:23:36 +02:00
NathanSweet
0a74525261 Shadows for non-lit shader. 2013-10-08 21:00:21 +02:00
NathanSweet
3b8aef4890 Much better normals calculation. 2013-10-08 19:34:45 +02:00
NathanSweet
fe40a2f2e6 Support Unity lighting. 2013-10-08 19:18:43 +02:00
NathanSweet
b8f23ebc83 Support Unity lighting. 2013-10-08 16:55:10 +02:00
NathanSweet
1d8e12442e Don't crash if animation is not found.
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1379
2013-10-08 12:06:56 +02:00
NathanSweet
961a93719c set/addAnimation doesn't allow null animation. 2013-10-08 12:05:55 +02:00
NathanSweet
da7ef99c34 Removed useAnimationName from spine-tk2d. 2013-10-04 22:55:09 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
9ab690005a Deleted useAnimationName. Cleaned up examples.
useAnimationName isn't needed now that animationName is just a property that sets the animation for track zero.
2013-10-03 21:47:55 +02:00
NathanSweet
64d50d5edc Fixed submeshes.
One day this will work correctly. :(
2013-10-03 21:38:40 +02:00
NathanSweet
748431b4f6 Allow null firedEvents. 2013-10-03 21:32:57 +02:00
NathanSweet
f33c621194 Better example. 2013-10-03 21:19:29 +02:00
NathanSweet
981e7a1371 Fixed last event being fired too many times. 2013-10-03 20:33:03 +02:00
NathanSweet
08d5efa31d Simpler Spineboy.cs. 2013-10-03 20:25:47 +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
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