NathanSweet
00803c42a5
Fixed CCSkeletonAnimation.
...
Oops!
2013-06-12 13:45:09 +02:00
NathanSweet
d0732921c9
Added getAnimationState.
2013-06-11 18:23:40 +02:00
NathanSweet
4ea202a1e6
Fixed cocos2d-x example leaking skeleton animation node.
2013-06-02 15:29:19 +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
7cae307c55
Default time scale to 1.
2013-05-23 12:45:31 +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
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
be93cdd019
Fixed ios project.
2013-05-07 17:44:50 +02:00
NathanSweet
3f3449ca99
Added getTextureAtlas method when not using AtlasAttachmentLoader.
2013-05-06 17:59:06 +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
9cadc92b97
Brought back some convenience methods.
...
Anything more than this and you have to use the C API!
2013-05-01 17:58:08 +02:00
NathanSweet
35b45a564b
Clean up.
2013-04-30 18:50:12 +02:00
NathanSweet
b7ac58b0d2
Fixed static methods.
2013-04-30 12:20:21 +02:00
NathanSweet
2bee31ad2a
Minor updates.
2013-04-30 12:18:23 +02:00
NathanSweet
0d488eafe6
Refactoring to make it easier to load a SkeletonData in a subclass constructor.
2013-04-29 14:45:26 +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
64a0a07373
Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions.
2013-04-24 16:54:13 +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
7bd6f62a2b
Added AnimationState clear.
...
id return value for factory methods.
2013-04-18 23:31:29 +02:00
NathanSweet
7193122908
Fixed cocos2d texture atlas usage.
...
Super cool API you got going there, cocos2d... :|
2013-04-18 19:08:34 +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
3defbc4132
boundingBox takes into account scale and position. #32
2013-04-17 10:03:58 +02:00
flamingo
817304cecc
Update spine-cocos2dx.cpp
...
Fixed crash at bounding box function.
2013-04-14 14:25:08 +04:00
NathanSweet
f935a4ede0
License headers.
2013-04-11 10:42:24 +02:00
NathanSweet
e56050e3a7
Better class extension.
2013-04-11 06:06:23 +02:00
NathanSweet
4f971f30fb
Initialize fields, issue #28 .
2013-04-11 00:13:53 +02:00
NathanSweet
42564828d4
Added Android example project. Thanks Luis Mende!
2013-04-08 23:17:58 +02:00
NathanSweet
a624c637c7
Added updateQuad and boundingBox.
2013-04-08 19:02:58 +02:00
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