Merge pull request #15339 from minggo/lua_labeltest_bug

[ci skip]update label string every 0.1s
This commit is contained in:
minggo 2016-03-29 15:27:05 +08:00
commit 9762a2616e
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ function Atlas4.create()
local lastChar = label2:getChildByTag(3) local lastChar = label2:getChildByTag(3)
lastChar:runAction(rot_4ever:clone()) lastChar:runAction(rot_4ever:clone())
scheduler:scheduleScriptFunc(Atlas4.step, 0.1, false)
Helper.titleLabel:setString("LabelBMFont") Helper.titleLabel:setString("LabelBMFont")
Helper.subtitleLabel:setString( "Using fonts as cc.Sprite objects. Some characters should rotate.") Helper.subtitleLabel:setString( "Using fonts as cc.Sprite objects. Some characters should rotate.")