86 Commits

Author SHA1 Message Date
NathanSweet
b2f09b352b Reanedm goblins-ffd example to goblins-mesh. 2014-10-05 18:53:47 +02:00
NathanSweet
f915a6c777 Fixed color blending. 2014-10-01 17:26:44 +02:00
NathanSweet
5ffee20f53 Added IK constraint files to iOS project. 2014-10-01 17:04:46 +02:00
NathanSweet
22007bd10f Removed OSX project. 2014-10-01 17:03:58 +02:00
NathanSweet
5874b5d276 Formatting. 2014-10-01 17:03:26 +02:00
jpoag
059f1c57b7 * [spine-cocos2d-iphone] update SkeletonRenderer to latest refactor
* [spine-cocos2dx/2] update SkeletonRenderer to latest refactor
2014-09-01 11:55:02 -04:00
jvasti
23af9ad659 Cocos2d-iphone v.3.1 support
PolygonBatch has been removed since Cocos2d-iphone has automatic
batching. CCDrawingPrimitives calls have been changed to CCDrawNode
calls and the rendering of triangles have been ported to CCRenderer.
Xcode projects have been updated with the necessary GLKit dependancy
2014-07-28 17:49:26 +03:00
NathanSweet
e648aa66ae Changed cocos2d-based runtimes to not apply contentScale.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2771
2014-06-04 01:59:00 +02:00
NathanSweet
37c27ca3f9 Don't clear VAO on each PolygonBatch flush. 2014-05-29 19:34:09 +02:00
NathanSweet
99df3bf619 Updated boundingBox. 2014-05-22 11:37:21 +02:00
NathanSweet
45a1745449 Unbind VAO. 2014-05-20 16:59:08 +02:00
NathanSweet
7b1e4412b1 Removed WIP. 2014-05-19 21:36:21 +02:00
NathanSweet
df78473cf7 Fixed spine-cocos2d for v3.0. Removed short names. 2014-05-19 16:23:20 +02:00
NathanSweet
2157915a22 Removed short names. Better project setup. 2014-05-19 16:19:48 +02:00
JOHN VU
8a0d11b44f bind VAO 0 to clear the current vao context
reference to post on cocos2d forums: http://forum.cocos2d-iphone.org/t/spine-runtime-for-3-0-problems/13504
2014-05-18 20:24:40 -04:00
NathanSweet
790a46868b Disable debug lines for now. 2014-05-18 21:58:23 +02:00
NathanSweet
01c684dfd6 Docs. 2014-05-18 21:56:19 +02:00
NathanSweet
46f24bbe6a Spine runtime for cocos2d-iphone v3.0 >>BROKEN<< WIP, not ready for use. 2014-05-18 21:53:44 +02:00
NathanSweet
d5a52177f3 Docs. 2014-05-18 18:41:45 +02:00
NathanSweet
066fa3dcae Fixed TrackEntry leak. 2014-05-17 23:21:22 +02:00
NathanSweet
b0279701e4 Meshes, FFD and skinning for spine-cocos2d-iphone.
Also, AnimationState listeners are done using blocks.

This is for cocos2d 2.1.0. Version 3.0 and 3.1 is coming soon.
2014-05-17 22:28:24 +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
9780af9524 Fixed premultiplied alpha. 2014-02-01 01:27:58 +01:00
Daniel Zhang (張道博)
690b7d1684 Adding a note about the need to also copy the appropriate licenses to the project. 2014-01-26 01:27:46 -10:00
Daniel Zhang (張道博)
40beaaf700 Add missing items from cocos2d-iphone 2.1 so that the project builds without errors.
Added references to the project:

* CCFontDefinition.m
* CCFontDefinition.h

Added CoreText.framework to the build phase.
2014-01-26 01:27:07 -10:00
NathanSweet
661a0436bc Documentation 2014-01-20 04:51:20 +01:00
NathanSweet
44ba6c4832 Documentation 2014-01-19 19:26:07 +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
5e2e5ed8d9 Fixed memory leaks.
closes #148
2013-10-31 09:10:29 +01:00
NathanSweet
6862eec5af Made 0 scale use "content scale factor". Commented drawOrder animation. 2013-10-30 14:25:16 +01:00
NathanSweet
3bf00befc0 Added podspec. 2013-10-14 21:38:00 +02: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
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
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
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
4852fdca14 Renamed clearAnimation to clearTracks. 2013-09-28 20:33:56 +02:00
NathanSweet
916b7d01de cocos2d ObjC style AnimationState event callback for CCSkeletonAnimation. 2013-09-27 11:40:54 +02:00
NathanSweet
6441bd93b6 Wasn't using drawOrder. 2013-09-25 12:17:53 +02:00
slow_banshee
ae797c22c1 update convenience constructors for CCSkeleton, CCSkeletonAnimation 2013-09-24 17:47:42 +03:00
NathanSweet
d5cb07fea0 spine-cocos2d-iphone compiles with latest spine-c. 2013-09-24 16:28:04 +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
d0732921c9 Added getAnimationState. 2013-06-11 18:23:40 +02:00
NathanSweet
adb406a8ac Fixed leaking CCTextureAtlas. 2013-06-02 15:27:56 +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
a4bd912dc1 Fixed premultiplied images (the default). 2013-05-12 14:22:12 +02:00
NathanSweet
4823bb25c8 Added verisons. 2013-05-10 14:49:01 +02:00
NathanSweet
bcc0b60050 Slightly better boundingBox. 2013-05-10 13:55:01 +02:00