level 2
迷茫芯
楼主
我在“知易”那个教程上看到的,可是报错了?\n
// 使用 BMP 字体显示游戏时间
\n
CCBitmapFontAtlas *lbScore = [CCBitmapFontAtlas
\n
bitmapFontAtlasWithString:@"Time: 0" fntFile:@"font09.fnt"];
\n
lbScore.anchorPoint = ccp(1.0, 1.0); \n
lbScore.scale = 0.6;[self addChild:lbScore z:1 tag:3]; \n
lbScore.position = ccp(310, 450); \n
谁能普及一下显示时间的方法!!
2014年03月27日 08点03分
1
// 使用 BMP 字体显示游戏时间
\n
CCBitmapFontAtlas *lbScore = [CCBitmapFontAtlas
\n
bitmapFontAtlasWithString:@"Time: 0" fntFile:@"font09.fnt"];
\n
lbScore.anchorPoint = ccp(1.0, 1.0); \n
lbScore.scale = 0.6;[self addChild:lbScore z:1 tag:3]; \n
lbScore.position = ccp(310, 450); \n
谁能普及一下显示时间的方法!!