Hello! I want to make a counter to track time inside a game. How can I do it?
I made this but the new “old” time appears behind the new time. Thanks:)
[lua]local x = 0
local function listener( event )
x = x + 1
local countingSeconds = display.newText(x, 0,0, Verdana, 16*2);
timer.performWithDelay(1000, listener)
end
end
timer.performWithDelay(1000, listener )
[import]uid: 208318 topic_id: 35591 reply_id: 335591[/import]