mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[cocos2dx] Updated README.md
This commit is contained in:
parent
bc8ac2e379
commit
4fa4f9009e
@ -10,7 +10,7 @@ The Spine Runtimes are developed with the intent to be used with data exported f
|
||||
|
||||
## Spine version
|
||||
|
||||
spine-cocos2dx works with data exported from Spine 3.5.xx.
|
||||
spine-cocos2dx works with data exported from Spine 3.6.xx.
|
||||
|
||||
spine-cocos2dx supports all Spine features.
|
||||
|
||||
@ -69,6 +69,7 @@ The Spine cocos2d-x example works on Windows and Mac OS X.
|
||||
## Notes
|
||||
|
||||
- Images are premultiplied by cocos2d-x, so the Spine atlas images should *not* use premultiplied alpha.
|
||||
- Two color tinting needs to be enabled on a per-skeleton basis. Call `SkeletonRenderer::setTwoColorTine(true)` or `SkeletonAnimation::setTwoColorTint(true)` after you created the skeleton instance. Note that two color tinting requires a custom shader and vertex format. Skeletons rendered with two color tinting can therefore not be batched with single color tinted skeletons or other 2D cocos2d-x elements like sprites. However, two-color tinted skeletons will be batched if possible when rendered after one another.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user