Dear All,
I just realised that that display.newText() no longer supports multi-line text.
Could anyone suggest some simple alternatives which allow me to use “\n” again.
Thank you in advance for your kind suggestion.
Henry [import]uid: 150748 topic_id: 28328 reply_id: 328328[/import]
You need to add in the width and height as well as the x and y.
Rough example;
[lua]local test = display.newText(“testing\ntesting”, 10, 10, 100,100, native.systemFont, 12)[/lua]
That should do it.
Peach [import]uid: 52491 topic_id: 28328 reply_id: 114445[/import]
Dear Peach,
Yes, It works!
Thank you, Peach!
You are truly a corona guru!
Henry
greetings from Sydney, Australia [import]uid: 150748 topic_id: 28328 reply_id: 114457[/import]
have you set a height in newText? [import]uid: 90610 topic_id: 28328 reply_id: 114427[/import]
Not a problem Henry
You’re in Sydney? I lived there until last month, I’m currently crashing in Adelaide.
Peach [import]uid: 52491 topic_id: 28328 reply_id: 114569[/import]