84 Commits

Author SHA1 Message Date
NathanSweet
7199d22417 Better AnimationState listeners, including on a TrackEntry. 2014-05-11 21:00:50 +02:00
NathanSweet
90ec4db279 C++11 AnimationState listener.
Because 2014.
2014-05-08 22:29:50 +02:00
NathanSweet
5c6ebf2c63 cocos2d-x updated to 3.1alpha0.
No meshes yet.
2014-05-08 19:21:50 +02:00
NathanSweet
9780af9524 Fixed premultiplied alpha. 2014-02-01 01:27:58 +01:00
NathanSweet
54ae334637 Update commented out code to test for memory leaks. 2013-12-05 19:03:42 +01:00
NathanSweet
51a0876561 Added call to update so it is called before the first draw. 2013-10-30 18:54:35 +01:00
NathanSweet
6862eec5af Made 0 scale use "content scale factor". Commented drawOrder animation. 2013-10-30 14:25:16 +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
a7913e35ba Better example. 2013-09-27 11:41:23 +02:00
NathanSweet
957f5a539e Renamed setListener to setAnimationListener. 2013-09-26 22:55:17 +02:00
NathanSweet
9443ecb09c cocos2dx style AnimationState event callback for CCSkeletonAnimation. 2013-09-26 21:44:22 +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
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
1573d47bc6 Use createWithFile instead of releasing. 2013-07-27 13:51:39 +02:00
Alex Swan
554c318675 Removed reference to non-existant 'ipad' and 'ipadhd' directory 2013-06-17 17:13:11 -06:00
NathanSweet
4ea202a1e6 Fixed cocos2d-x example leaking skeleton animation node. 2013-06-02 15:29:19 +02:00
NathanSweet
35b45a564b Clean up. 2013-04-30 18:50:12 +02:00
NathanSweet
90180dafbb CCSkeletonAnimation separated from CCSkeleton.
Has convenience methods to apply multiple AnimationStates and queue animations.
2013-04-27 16:58:22 +02:00
NathanSweet
f055dc8fd7 Removed convenience methods to make it clear that the spine-c API should be used.
Discussion here:
http://www.esotericsoftware.com/forum/viewtopic.php?f=3&t=536
2013-04-19 17:47:43 +02:00
NathanSweet
5a46f8c6b4 isComplete for AnimationState. 2013-04-19 09:14:29 +02:00
NathanSweet
f935a4ede0 License headers. 2013-04-11 10:42:24 +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
3c6954872a Adde animation state to example. 2013-04-02 19:10:48 +02:00
NathanSweet
b795fd2d5d Action example. 2013-04-02 03:05:16 +02:00
NathanSweet
e454021503 Converted spine-cocos2dx from spine-cpp to spine-c. 2013-04-02 02:47:36 +02:00
Stefan Nguyen
d8ac89b5df add example use CCAction classes with CCSkeleton 2013-03-27 22:42:40 +07:00
NathanSweet
d67191d653 Renamed ExampleScene to ExampleLayer. 2013-03-26 00:15:12 +01:00
NathanSweet
6342ed949e Static method to create autoreleased CCSkeleton.
Example shows memory management.
Fixed bug in memory management, texture not retained. :)
2013-03-25 23:51:33 +01:00
NathanSweet
ec8509b511 Source formatting, clean up. 2013-03-25 22:27:00 +01:00
NathanSweet
554b6592b6 Fixed up Windows stuff. 2013-03-25 19:46:46 +01:00
NathanSweet
4cb9a8b088 Merge branch 'master' of https://github.com/vinova/spine-runtimes into vinova-master
Conflicts:
	spine-cocos2dx/example/Classes/ExampleScene.cpp
2013-03-25 19:20:45 +01:00
Stefan Nguyen
ef6140e4c1 scale SkeletonJson object to 0.5 2013-03-25 22:03:49 +07:00
Stefan Nguyen
510849c609 support multiple-resolutions 2013-03-25 15:58:28 +07:00
Stefan Nguyen
ee25feffbe reorganize structure to match cocos2d-x multi-platform style; create a working iOS example 2013-03-25 14:36:39 +07:00