怎么设置字体的大小和字体的颜色!

dedeb2009 2011-05-31 11:46:50
CCBitmapFontAtlas *lbScore = [CCBitmapFontAtlas bitmapFontAtlasWithString:@"" fntFile:@"font09.fnt"];
lbScore.anchorPoint = ccp(1.0, 1.0);
lbScore.scale = 0.6;
[self addChild:lbScore z:3 tag:3];
lbScore.position = ccp(270, 310);
[self schedule:@selector(step:) interval:0.01];
这是一个时间的显示!字体很小!绿色的!我想要改为白色!字体大一点!外圈带有黑色边带!
...全文
106 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,265

社区成员

发帖
与我相关
我的任务
社区描述
软件工程/管理 管理版
社区管理员
  • 研发管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧