Hello,
Is it possible to use \n (newline character) with display.newText ? When I use it on the simulator, it works. However, it doesn't work when I run the apk on an android phone.
Thanks,
Cem
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Hello,
Is it possible to use \n (newline character) with display.newText ? When I use it on the simulator, it works. However, it doesn't work when I run the apk on an android phone.
Thanks,
Cem
\n isn't currently usable however you can use this; http://developer.anscamobile.com/code/auto-wrapped-text-updated
Peach :)
Thanks, an interesting but nice way to approach the problem :)
you can also do something like this
1 2 3 4 | txt ={ "line1"},{"line2"},{"line3"} for a=1,#txt do distxt=display.newText( txt[a], 100, 50+(a*30), native.systemFont,16) end |
Seriously and ideally, why use some much lines of codes when a simple '\n' should had done the same job?
It would be great Ansca correct the problem.
Cheers.