49 Commits

Author SHA1 Message Date
Sebastien Flory
01ba46ff0e Fix issue with HitTest
Hi,

I dont think you need to apply the scales here because it will be done automatically by the framework (the localPoint is already transformed in the locales coordinates)

Have a nice day!

Seb
2014-12-16 10:02:46 +01:00
Daniel Sperl
0dc21d23c0 added support for textures without premultiplied alpha 2014-11-03 12:19:49 +01:00
NathanSweet
b2f09b352b Reanedm goblins-ffd example to goblins-mesh. 2014-10-05 18:53:47 +02:00
NathanSweet
d8eac649ba Improved examples. 2014-09-30 02:17:39 +02:00
NathanSweet
03020e0ff4 Merge remote-tracking branch 'origin/master' 2014-09-30 01:27:48 +02:00
NathanSweet
84a80feccc IK constraints for spine-as3. 2014-09-30 01:27:01 +02:00
Nathan Sweet
757db3f6cb Merge pull request #303 from Fraggle/patch-3
Fix to avoid excessive flushing of polygon batch.
2014-09-30 01:21:50 +02:00
Sebastien Flory
94f969c9a3 Avoid silent Array allocations
Hello,

In AS3, if a function accepts an arbitrary number of arguments, it will create an Array object behind the scene.
Math.min / Math.max are famous culprits :)
2014-09-29 18:10:41 +02:00
Sebastien Flory
5c154fd236 Fix to avoid excessive flushing of polygon batch.
It seems that when we use a starling SubTexture instead of an Spine texture, this line will trigger a lot of flushing instead of batching the polygons.
This fix avoid that.
Btw, you are using Animation.binarySearch1() in AnimationTimeline wich does not exists yet :-p
2014-09-29 16:51:34 +02:00
NathanSweet
c9b51bac8b Use and restore existing blend mode.
#236
2014-07-25 23:08:05 +02:00
NathanSweet
4eb73738c2 Fixed spine-starling meshes with a Starling atlas. Better examples. 2014-07-25 19:39:45 +02:00
NathanSweet
e6ba25c59b Fixed enableErrorChecking. 2014-07-25 16:40:40 +02:00
NathanSweet
ff926a2b8e Default mesh rendering to true.
Less confusing for noobs.
2014-07-25 16:39:04 +02:00
NathanSweet
6d7beac3aa Added support for smoothing other than bilinear. 2014-07-25 16:34:39 +02:00
NathanSweet
da9de71fad Fixed array expansion. 2014-06-04 12:09:20 +02:00
NathanSweet
6b9d514ca7 Meshes, FFD and skinning for spine-starling. 2014-06-02 15:33:22 +02:00
NathanSweet
d46ab513c8 Brings spine-starling up to date with spine-as3.
No mesh rendering yet.
2014-05-21 22:29:43 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
Sebastien Flory
94ba593940 Fix related to Starling update
Hi,

Commit 5250246d8e breaks this code because you might not have a frame for a sub texture anymore.
My patch fix the issue.
2014-03-28 11:58:03 +01:00
NathanSweet
0e47b09706 Dispose texture, not bitmapdata. 2014-01-31 16:30:43 +01:00
NathanSweet
661a0436bc Documentation 2014-01-20 04:51:20 +01:00
NathanSweet
2e9cb471f7 Per attachment color. 2014-01-18 16:47:18 +01:00
NathanSweet
9787e7cee7 Returned example to use spineboy. 2014-01-17 00:58:01 +01:00
NathanSweet
7c99cbd6d2 Added goblin example. 2014-01-13 18:09:00 +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
faa7c49627 Multi page atlas support for Flash and Starling.
http://www.esotericsoftware.com/forum/viewtopic.php?p=9409#p9409
2014-01-11 18:05:50 +01:00
NathanSweet
037a156e73 Make vertices static. 2014-01-01 17:40:50 +01:00
NathanSweet
4b31d81923 Minor optimizations, clean up. 2013-12-23 15:04:37 +01:00
NathanSweet
5fc34b77b4 Changed Vector<Function> to Listeners class. 2013-12-22 00:17:38 +01:00
NathanSweet
dca388bb98 Changed listeners to Vector.<Function>. 2013-12-21 18:44:56 +01:00
NathanSweet
725fd49c77 Support for Atlas with spine-starling in addition to Starling's texture atlas. 2013-10-30 22:27:06 +01:00
NathanSweet
26832677cb spine-as3 keyable draw order, events, and new AnimationState. 2013-10-10 18:48:54 +02:00
NathanSweet
b0c4890560 Updated to Starling 1.4. Fixed Starling atlas loading. Minor optimizations. 2013-10-10 15:09:06 +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
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
1caa8eaadd Inherit scale/rotation and additive blending for spine-as3 and spine-starling. 2013-09-24 16:54:10 +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
ab8a08c8cb Missing files for last commit. 2013-08-03 21:25:45 +02:00
NathanSweet
ed6634b641 Fixed: #77 Starling atlas cropping, #90 spine-as3 slot colors, #92 spine-as3 image changes.
Renamed SkeletonAnimationSprite -> SkeletonAnimation. Versioned starling SWC file name.
2013-08-03 20:41:41 +02:00
NathanSweet
e42cf6ad19 Changed project files to work with Flash Builder 4.6. 2013-07-24 03:07:11 +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
4051dedd22 Minor fixes. 2013-05-07 01:13:34 +02:00
NathanSweet
80fdba02a1 Refactoring: RegionAttachment vertices, texture->rendererObject...
- Vertices are no longer stored on RegionAttachment. The vertices are temporary state, not part of RegionAttachment's persistent state like UVs and offset.
- AtlasPage and RegionAttachment "texture" field is renamed to "rendererObject". This is a better name as it may not be a texture.
- AtlasAttachmentLoader uses the AtlasRegion as the rendererObject. This enables a renderer to use region information if needed. The page rendererObject is still available.
- Better "enum" look up for AS3.
- Unity4 example doesn't use a compressed material.
2013-05-05 12:37:24 +02:00
NathanSweet
45f93ca31f Organized and simplified spine-starling. 2013-05-04 11:38:23 +02:00
NathanSweet
b882cecc16 Better getBounds. 2013-05-01 12:20:03 +02:00
NathanSweet
4838ebf4ef Fixed spine-starling rendering. 2013-05-01 10:25:46 +02:00
NathanSweet
131cdbd576 AS3 and Starling runtimes. 2013-04-30 19:18:39 +02:00