ios - cocos2d : is the child of a child of a batch node handled by the batch node?

标签 ios cocos2d-iphone

问题可能措辞不当...如果我添加一个 Sprite 作为批节点的子节点,然后添加另一个 Sprite 作为第一个 Sprite 的子节点,该 Sprite 是否会获得与批节点相同的好处?还是必须直接添加到批处理节点?

最佳答案

在2.1版本中,答案是肯定的。确保批处理节点的孙子节点与用于批处理节点的纹理具有相同的纹理。

关于ios - cocos2d : is the child of a child of a batch node handled by the batch node?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23583745/

相关文章:

ios - UIKit 应用程序中的 Cocos 2D?

ios - 哪种环境适合 iOS 中的 Tic Tac Toe 等游戏?

ios - Swift 2.1 - 对单个单元格使用 UITableView

ios - 在 MainContext 和 PrivateContext 上的异步 block 崩溃上使用 -com.apple.CoreData.ConcurrencyDebug 1

ios - NSRangeException : Call Stack Not Showing Line Number 错误

ios - 在swift 3中获取与边缘的距离

ios - 使用 UISaveVideoAtPathToSavedPhotosAlbum 并保存到自定义相册

ios - 升级到Cocos2d 2.1后AppDelegate错误

ios - cocos2d CCLayer 中的 UIScrollview

audio - 如何在Cocos2d中使用NSArray播放随机声音