通过将CCNode创建为batchNode并正确查看sprites /访问子对象来寻找解决方案?
任何帮助都是非常感谢的。
[[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"sprites.plist"];
_actors = [CCSpriteBatchNode batchNodeWithFile:@"sprites.pvr.ccz"];
[_actors.texture setAntialiased:YES];这是我最初拥有的。这是我目前所拥有的:
[[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"sprites.plist"];
_actors = [CCNode node];
[_actors addChild:[CCSprite spriteWithImageNamed:@"sprites.pvr.ccz"]];发布于 2014-09-23 03:18:34
要解决此问题,我需要在导出SpriteSheet时激活在TexturePacker中翻转PVR选项。希望这能对你们中的一些人有所帮助!
https://stackoverflow.com/questions/25979061
复制相似问题