488 Commits

Author SHA1 Message Date
NathanSweet
5bab2830a9 Fixed texture atlas capacity expansion. 2013-04-08 04:26:15 +02:00
NathanSweet
a165849d6e Clean up. 2013-04-06 18:27:51 +02:00
NathanSweet
b947ac02b6 Rename projects to .spine. 2013-04-05 08:30:19 +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
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
0b75fc58d4 Fixed timeScale initial value. 2013-04-03 02:02:59 +02:00
NathanSweet
3c6954872a Adde animation state to example. 2013-04-02 19:10:48 +02:00
NathanSweet
1c74777487 Include guards. 2013-04-02 04:53:02 +02:00
NathanSweet
701f16dc71 Removed unnecessary forward declaration. 2013-04-02 04:37:10 +02:00
NathanSweet
1ab0a4e3e3 Removed extra includes. 2013-04-02 04:12:04 +02:00
NathanSweet
443bda13e9 Removed stray include. 2013-04-02 04:06:22 +02:00
NathanSweet
9e3c974882 Fixed iOS example project with latest spine-c changes. 2013-04-02 04:00:06 +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
Stefan Nguyen
fc7cc63413 fix weird color blending on using CCFadeOut 2013-03-27 22:29:32 +07:00
NathanSweet
f8dd23fc18 Fixed for cocos2d-2.1rc0-x-2.1.2. 2013-03-27 13:59:28 +01:00
NathanSweet
41b748ef4d Added CCRGBAProtocol and CCBlendProtocol to CCSkeleton. Fixed issue #20. 2013-03-27 12:20:49 +01:00
Stefan Nguyen
9202308c71 uses ccGLBlendFunc instead of glBlendFunc
so that Cocos2dx automatically preserve and switch back to old OpenGL mode
See ccConfig.h line 50
2013-03-26 18:02:07 +07:00
Stefan Nguyen
d20ada65fb ignore iOS xcuserdata 2013-03-26 09:28:27 +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
1f991ac234 Commit VS user file to for correct working dir. 2013-03-25 20:56:56 +01:00
NathanSweet
f2b6e73df8 Fixed up iOS project. 2013-03-25 20:27:59 +01:00
NathanSweet
554b6592b6 Fixed up Windows stuff. 2013-03-25 19:46:46 +01:00
NathanSweet
ba0227364d Place cocos2dx here 2013-03-25 19:33:10 +01:00
NathanSweet
91244a7b15 Moved cocos2d location. 2013-03-25 19:27:30 +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
ff62c847f2 fix proj.win32 2013-03-25 21:58:37 +07:00
NathanSweet
81a9c60b20 Added debug rendering. Thanks to Stefan Nguyen @ Vinova Pte Ltd! http://www.vinova.sg 2013-03-25 13:34:38 +01:00
NathanSweet
75fc36eab6 Simplified all loading methods to take path, stream, or pointers. 2013-03-25 12:33:21 +01: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
NathanSweet
6addb86a40 Changed file loading to use cocos2d-x API. 2013-03-24 22:39:29 +01:00
NathanSweet
17394e1851 cocos2d-x runtime! 2013-03-22 16:18:18 +01:00