16 Commits

Author SHA1 Message Date
NathanSweet
63f8e4ddaf Keyable draw order for spine-c. 2013-09-24 11:29:58 +02:00
NathanSweet
906ed5f0aa spine-c: inherit scale and rotation implemented. Allow to parse latest JSON. 2013-09-23 20:35:43 +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
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
2bc3f511a1 Refactoring to make extension easier.
Much less weird OOP needed. Rendering is separate from data objects. cocos2d-iphone and cocos2d-x support for multi page atlases.
2013-04-17 22:08:53 +02:00
NathanSweet
ed6a062942 Multi line comments in case we every want to support C89. 2013-04-12 08:07:16 +02:00
NathanSweet
e56050e3a7 Better class extension. 2013-04-11 06:06:23 +02:00
NathanSweet
6780447b83 Fancier C++/ObjC APIs to avoid C API with simple usage.
NSString instead of cstr for ObjC.
2013-04-04 17:12:21 +02:00
NathanSweet
dd27ee184c Changed Spine export format.
There are no longer separate animation files, they are now inside the skeleton file. This means there is just one file to manage, which is cleaner. Now that animations are stored in SkeletonData, they can be looked up by name which leads to cleaner runtime APIs.

cocos2d and cocos2d-x runtimes got a cleaner ObjC/C++ API.
2013-04-04 04:00:45 +02:00
NathanSweet
73c521bdaa Removed junk that shouldn't have been committed. :( 2013-04-03 03:38:52 +02:00
NathanSweet
a398fe6201 Atlas now prefixes images referenced in the atlas file with the directory containing the atlas file. 2013-04-03 03:37:52 +02:00
NathanSweet
ca163b5e52 Moar refuctoring. All the refuctorings are belong to Spine. 2013-04-02 02:47:11 +02:00
NathanSweet
6af401e888 Refactored loading files. 2013-04-01 19:23:26 +02:00
NathanSweet
a3f23dd4bf Refactoring for cleaner OOP. 2013-03-31 20:09:37 +02:00
NathanSweet
b299a4663b Better spine-c example. 2013-03-30 18:26:39 +01:00
NathanSweet
1be279e4e8 Better spine-c example. 2013-03-30 18:25:46 +01:00