瀏覽代碼

[cocos2dx] Updated README.md

badlogic 8 年之前
父節點
當前提交
4fa4f9009e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      spine-cocos2dx/README.md

+ 2 - 1
spine-cocos2dx/README.md

@@ -10,7 +10,7 @@ The Spine Runtimes are developed with the intent to be used with data exported f
 
 
 ## Spine version
 ## 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.
 spine-cocos2dx supports all Spine features.
 
 
@@ -69,6 +69,7 @@ The Spine cocos2d-x example works on Windows and Mac OS X.
 ## Notes
 ## Notes
 
 
 - Images are premultiplied by cocos2d-x, so the Spine atlas images should *not* use premultiplied alpha.
 - 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
 ## Examples