0
此代码在模拟器中工作。当我们加载到设备中没有working.In控制台它显示为错误:
Unable to load font BARBATRI.ttf
CCLabelTTF在模拟器中工作,但不在设备中
我的代码是: -
CCLabelTTF *score = [CCLabelTTF labelWithString:[NSString stringWithFormat:@"Score : %d",[CommonUserDetails sharedUserDetails].GameScore] fontName:@"BARBATRI.ttf" fontSize:18];
score.position = ccp(240,160);
score.anchorPoint = ccp(0.5, 0.5);
[self addChild:score];
感谢ü非常 – user1215720
没有问题。你可以标记答案是正确的,以帮助其他人找到它=) – Morion