45 Commits

Author SHA1 Message Date
NathanSweet
2e266127a0 Carry over remaining time when playing queued animations.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2633
2014-05-15 20:11:09 +02:00
smaren
4865f288f3 attachment type bounding box should be lower case
Fixed all occurences of spine.AttachmentType.boundingBox to be
lowercase.
2014-05-08 12:13:25 +02:00
smaren
564025d955 Revert "fixed boundingbox typo"
This reverts commit 2715e2409fd2db16ffa1e05e57cf0fdb48c1c0a7.
2014-05-08 12:10:01 +02:00
smaren
2715e2409f fixed boundingbox typo
BoundingBox was boundingbox and boundingBox different places, now it is
boundingBox everywhere
2014-05-08 11:20:11 +02:00
smaren
9e2c588734 fixed skeletons setAttachment using getAttachment
getAttachment does not exist, now uses getAttachmentBySlotIndex
2014-05-08 11:19:05 +02:00
NathanSweet
0295b0c169 Read new atlas format that has width and height for each page. 2014-05-06 19:15:48 +02:00
NathanSweet
21eade668b Fixed intersectsSegment that takes a polygon.
closes #213
2014-05-06 14:09:32 +02:00
NathanSweet
d1b87c04a8 setToSetupPose and setSlotsToSetupPose should revert the draw order. 2014-05-05 15:14:27 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
NathanSweet
df70264a5b Go back to clearing the entry after the "end" listeners.
Changing the AnimationState state from an "end" listener is problematic even when the entry is cleared before the listener, so better to make the track that is ending available to the listener.
2014-03-17 16:53:33 +01:00
NathanSweet
aff250daf4 Allow a track to mix with the track below.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2248
2014-03-09 12:06:36 +01:00
NathanSweet
211f82fedd Clear the track before calling end on the listener. 2014-03-08 00:20:26 +01:00
NathanSweet
1e313182e2 Various bug fixes.
closes #176
2014-02-05 16:38:39 +01:00
NathanSweet
2b241c3628 Fixed root bone translation.
Again.
2014-01-17 00:58:29 +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
dff7b5ee77 Fixed additive always being used. 2013-12-05 11:12:52 +01:00
NathanSweet
99fd4c34a4 Fixed boolean parsing. 2013-12-04 13:32:15 +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
Aaron McLeod
5fab47d142 changed texture loaded to pass the current context. 2013-11-07 09:01:22 -05:00
NathanSweet
6b20ba4e97 Removed stray f character.
closes #145
2013-10-28 20:43:45 +01:00
NathanSweet
ee4ad778af Fixed animation state delay when not set right away (spine-js). 2013-10-22 11:42:27 +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
51b98ca71e spine-js: keyable draw order, events, bounding boxes. 2013-10-12 12:42:47 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +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
72f8f98a54 Inherit scale/rotation and additive blending for spine-js. 2013-09-24 16:58:29 +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
7f73966738 Fixed #106. 2013-08-16 13:36:48 +02:00
Vesnica
50a0c3045e Fixed ColorTimeline.setFrame bug
".. x, y)" should be ".. r, g, b, a)"
2013-08-04 16:05:59 +08:00
NathanSweet
0784725106 Merge branch 'origin/master' 2013-08-02 15:09:06 +02:00
Guido Lorenz
5b0a3f0b38 Add missing semicolons
Missing semicolons can cause trouble when minifying
or concatenating Javascript sources. The last one
actually did cause trouble when being followed by
an IIFE after concatenation.
2013-07-31 13:19:12 +02:00
Ryan McKay
c4e1b11845 Fixed toColor function returning NaN
Tested the 'toColor' function with 'ffffff00'.
The returned result (in r,g,b,a) was 1,NaN,1,257.
The correct result should obviously be 1,1,1,0.
The hex substring was being done incorrectly.
2013-07-25 20:32:37 +12:00
NathanSweet
dcbd87d90a Added defaultMix to AnimationStateData. 2013-06-13 20:00:25 +02:00
NathanSweet
661c39cca5 Fixed getFrameCount for attachment timelines, issue #62 2013-06-12 02:31:00 +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
NathanSweet
3736352c09 Fixed flip x/y for root bone. (reverse-merged from commit 64fd34ba9426e2c7637526b1029721000c14ad5b)
#43
2013-05-08 13:01:10 +02:00
NathanSweet
67f2b1c306 spine-js rendering with Turbulenz. 2013-05-07 01:13:18 +02:00
NathanSweet
64fd34ba94 Fixed flip x/y for root bone. 2013-05-06 14:26:23 +02:00
NathanSweet
ee9b65a6cc JavaScript runtime.
Untested and there is no rendering.
2013-05-06 11:52:39 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00