You know how in many games. The text is displayed as if someone was typing it?
Anyone has any idea how to replicate that?
[import]uid: 8192 topic_id: 7561 reply_id: 307561[/import]
You know how in many games. The text is displayed as if someone was typing it?
Anyone has any idea how to replicate that?
[import]uid: 8192 topic_id: 7561 reply_id: 307561[/import]
Try this:
local testText = display.newText("", 150,150, native.systemFont,20)
local x = 1
local function letters()
local theText = “Hello World”
testText.text = testText.text … string.sub(theText, x, x)
x = x + 1
end
local theTimer = timer.performWithDelay(500, letters, 11) [import]uid: 11809 topic_id: 7561 reply_id: 26841[/import]
Nice!. I will try that out ASAP.
Thanks [import]uid: 8192 topic_id: 7561 reply_id: 26908[/import]