From 1de5141473943e09e0f67466f872cfbf15a5448e Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 29 Mar 2016 15:25:18 +0800 Subject: [PATCH] update label string every 0.1s --- tests/lua-tests/src/LabelTest/LabelTest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lua-tests/src/LabelTest/LabelTest.lua b/tests/lua-tests/src/LabelTest/LabelTest.lua index 7a6ff74105..c360741ca0 100644 --- a/tests/lua-tests/src/LabelTest/LabelTest.lua +++ b/tests/lua-tests/src/LabelTest/LabelTest.lua @@ -321,6 +321,7 @@ function Atlas4.create() local lastChar = label2:getChildByTag(3) lastChar:runAction(rot_4ever:clone()) + scheduler:scheduleScriptFunc(Atlas4.step, 0.1, false) Helper.titleLabel:setString("LabelBMFont") Helper.subtitleLabel:setString( "Using fonts as cc.Sprite objects. Some characters should rotate.")