diff --git a/spine-cocos2dx/2/README.md b/spine-cocos2dx/2/README.md index 98fb76aba..651124ae9 100644 --- a/spine-cocos2dx/2/README.md +++ b/spine-cocos2dx/2/README.md @@ -10,6 +10,10 @@ The spine-cocos2dx runtime provides functionality to load, manipulate and render Alternatively, the contents of the `spine-c/src`, `spine-c/include` and `spine-cocos2dx/src` directories can be copied into your project. Be sure your header search path will find the contents of the `spine-c/include` and `spine-cocos2dx/src` directories. Note that the includes use `spine/Xxx.h`, so the `spine` directory cannot be omitted when copying the files. +## Notes + +- Images are premultiplied by cocos2d-x, so the Spine atlas images should *not* use premultiplied alpha. + ## Examples [Simple example](https://github.com/EsotericSoftware/spine-runtimes/blob/master/spine-cocos2dx/example/Classes/ExampleLayer.cpp#L18) diff --git a/spine-cocos2dx/3.0/README.md b/spine-cocos2dx/3.0/README.md index 8a5896efe..e58d3bc55 100644 --- a/spine-cocos2dx/3.0/README.md +++ b/spine-cocos2dx/3.0/README.md @@ -10,6 +10,10 @@ The spine-cocos2dx runtime provides functionality to load, manipulate and render Alternatively, the contents of the `spine-c/src`, `spine-c/include` and `spine-cocos2dx/src` directories can be copied into your project. Be sure your header search path will find the contents of the `spine-c/include` and `spine-cocos2dx/src` directories. Note that the includes use `spine/Xxx.h`, so the `spine` directory cannot be omitted when copying the files. +## Notes + +- Images are no longer premultiplied by cocos2d-x as they where in cocos2d-x v2, so the Spine atlas images *should* use premultiplied alpha. + ## Examples [Simple example](https://github.com/EsotericSoftware/spine-runtimes/blob/master/spine-cocos2dx/example/Classes/ExampleLayer.cpp#L18) diff --git a/spine-cocos2dx/3.1/README.md b/spine-cocos2dx/3.1/README.md index 2be9f5078..249bb0e1d 100644 --- a/spine-cocos2dx/3.1/README.md +++ b/spine-cocos2dx/3.1/README.md @@ -11,6 +11,10 @@ The spine-cocos2dx runtime provides functionality to load, manipulate and render Alternatively, the contents of the `spine-c/src`, `spine-c/include` and `spine-cocos2dx/src` directories can be copied into your project. Be sure your header search path will find the contents of the `spine-c/include` and `spine-cocos2dx/src` directories. Note that the includes use `spine/Xxx.h`, so the `spine` directory cannot be omitted when copying the files. +## Notes + +- Images are no longer premultiplied by cocos2d-x as they where in cocos2d-x v2, so the Spine atlas images *should* use premultiplied alpha. + ## Examples [Simple example](https://github.com/EsotericSoftware/spine-runtimes/blob/master/spine-cocos2dx/example/Classes/ExampleLayer.cpp#L18)