mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15339 from minggo/lua_labeltest_bug
[ci skip]update label string every 0.1s
This commit is contained in:
commit
9762a2616e
|
@ -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.")
|
||||||
|
|
Loading…
Reference in New Issue