250 Commits

Author SHA1 Message Date
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
5f46d03c4d Moved SMFL location into project. 2014-01-06 21:26:37 +01:00
NathanSweet
2bff08de4b Prefixed all spine-c structs and functions with "sp".
Holy refuctoring! Sorry for the change, but some libraries were having naming conflicts. You can define SPINE_SHORT_NAMES before including spine-c headers if you want to use structs and functions without the "sp" prefix, as it was before.
2013-10-09 03:43:16 +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
308e18b376 Fixed event timeline missing first event. 2013-09-29 22:51:08 +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
782bde21a0 Event timeline for spine-c, AnimationState refactoring.
closes #113
2013-09-26 09:37:11 +02:00
NathanSweet
c96bdac26f Renamed Polygon struct. 2013-09-24 16:12:23 +02:00
NathanSweet
72339ba824 Bounding boxes for spine-c and spine-sfml. 2013-09-24 15:36:10 +02:00
NathanSweet
76778031ed Additive blending for spine-sfml. 2013-09-24 12:00:23 +02:00
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
e6d7cf8b26 Add x and y to skeleton for positioning instead of using root bone. 2013-05-28 18:17:55 +02:00
NathanSweet
cdadffc156 Removed spine namespace from spine-c.
Didn't make any sense for a C API and complicated integration with ObjC.
2013-05-08 20:09:10 +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
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
ed0bae85c3 AnimationState queued animation for more runtimes, plus fixes. 2013-04-27 14:33:38 +02:00
NathanSweet
90747edd74 Reenable spineboy. 2013-04-25 23:19:45 +02:00
NathanSweet
64a0a07373 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 16:54:13 +02:00
NathanSweet
55d374f2ee Removed old structs. 2013-04-19 15:45:10 +02:00
NathanSweet
5a46f8c6b4 isComplete for AnimationState. 2013-04-19 09:14:29 +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
e56050e3a7 Better class extension. 2013-04-11 06:06:23 +02:00
NathanSweet
d776be8078 Fixed SFML. 2013-04-05 14:53:09 +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
ef793dd976 Slots and bones start in bind pose. 2013-04-03 17:24:30 +02:00
NathanSweet
9412949ae0 Fixed skins and color/image timelines. 2013-04-03 17:13:45 +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
b4c67812e9 Animation state example for SFML to match other runtimes. 2013-04-03 02:15:58 +02:00
NathanSweet
8b6f1ee2ae Dispose animation. 2013-04-02 04:57:53 +02:00
NathanSweet
ca163b5e52 Moar refuctoring. All the refuctorings are belong to Spine. 2013-04-02 02:47:11 +02:00
NathanSweet
e3cc3e4fb2 Clean up. 2013-04-01 20:21:31 +02:00
NathanSweet
6076689082 Moved drawing stuff into SkeletonDrawable. 2013-04-01 19:24:02 +02:00
NathanSweet
ad67dae2e0 Include guard. 2013-04-01 14:40:55 +02:00
NathanSweet
a3f23dd4bf Refactoring for cleaner OOP. 2013-03-31 20:09:37 +02:00
NathanSweet
7707f3517f License headers. 2013-03-30 19:12:33 +01: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
NathanSweet
6765ec4235 C runtime works! 2013-03-30 17:52:25 +01:00
NathanSweet
9a0085c36b So close, but alas must sleep :( 5am! 2013-03-30 04:53:47 +01:00
NathanSweet
596b515e66 Refactoring. 2013-03-30 04:14:51 +01:00
NathanSweet
75fc36eab6 Simplified all loading methods to take path, stream, or pointers. 2013-03-25 12:33:21 +01:00
NathanSweet
6e7e8c5512 Changed Atlas constructor to take a path. 2013-03-25 12:12:04 +01:00
NathanSweet
3aab744395 Utility methods to read from file and other minor improvements. 2013-03-22 16:18:03 +01:00
NathanSweet
6e9bcfd1d5 License headers for source files. 2013-03-20 14:58:59 +01:00
NathanSweet
a6a7200097 includes -> include 2013-03-20 14:22:16 +01:00
NathanSweet
d3949288f8 Separated SFML from spine-cpp. 2013-03-20 14:08:54 +01:00