cocos2d-android CCLabel在用作倒数计时器时闪烁

时间:2011-12-21 16:26:11

标签: android cocos2d-android

我正在使用CClabel.setString()在我的游戏应用程序中显示倒数计时器,但在更新时间时它会闪烁然后更新时间。我的代码是:

timerLabel = CCLabel.makeLabel("0.00", "courier", (float) 15);
timerLabel.setPosition(CGPoint.ccp(330,300));
timerLabel.setColor(ccColor3B.ccBLUE);
addChild(timerLabel,4);

------------------
timerLabel.setString(total_time+".00");

任何人都可以帮忙。 感谢您 Santanu

0 个答案:

没有答案
相关问题