Cocos2d - 使用 TexturePacker 创建的 .pvr.ccz spritesheet 存在问题(位置不正确,模糊)

Cocos2d - Problems with .pvr.ccz spritesheet (incorrect position, blurry) created with TexturePacker

我在使用 .pvr.ccz 格式时遇到问题。我有一个简单的精灵表,上面有一些由 TexturePacker 创建的精灵。它像我下面的示例代码一样加载。

@implementation MainScene

- (id)init
{
    // Apple recommend assigning self with supers return value
    self = [super init];

    [[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"spritesheet.plist"];
    CCSprite * sprite = [CCSprite spriteWithSpriteFrame:[CCSpriteFrame frameWithImageNamed:@"play-button.png"]];
    sprite.position = ccp(0.5, 0.5);
    sprite.positionType = CCPositionTypeNormalized;
    [self addChild:sprite];

    // done
    return self;
}
@end

spritesheet 已加载,我在控制台中没有收到任何警告或错误。但是不知何故,精灵 (play-button.png) 首先是模糊的,其次它在精灵表上的位置是错误的(所以它是另一个精灵的一半而不是播放按钮)。

在 TexturePacker 中,我选择了以下选项:

我阅读了很多关于使用 pvr.ccz 的优点的文章。我使用的是 cocos2d 版本 3.5。那么我是不是遗漏了代码中的某些内容,还是 Texturepacker 中有一个选项?

在某个时间点(内存故障)cocos2d 和 TP 将 .pvr 格式(制作和读取)更改为正常的 'flipped' 版本。因此,只需 select TP 中的 Flip PVR 复选框,渲染就可以了。