Cannot get new line in displaytext
sokaroka
Member Posts: 9
So this is for iPhone.
"Hello\nTest"
Displays as this
http://puu.sh/309ux.png
"Next".."\n".."Line" does the same
http://puu.sh/309wX.png
No matter what I put, it comes up with the exact characters, no new lines.
I've read like a million topics about this but can't figure out what I'm doing wrong.
Help appreciated.
"Hello\nTest"
Displays as this
http://puu.sh/309ux.png
"Next".."\n".."Line" does the same
http://puu.sh/309wX.png
No matter what I put, it comes up with the exact characters, no new lines.
I've read like a million topics about this but can't figure out what I'm doing wrong.
Help appreciated.
Comments
Hi @sokaroka The second version is correct, but you must make sure it's inputted in the Expression Editor (by clicking the "e" symbol)... should all be OK then.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Still displays the exact text.
Hope that helps.
Please post a screenshot of the expression you are using in the expression editor. i.e. show a screenshot of the expression editor window itself please.
What version are you using Mac GS Creator or Windows GS Creator? I just tried it on Mac and it works fine.
Display Text: Expression: "Hello\nWorld"
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Should be "hello"..\n.."world"
The only thing you ever out in the quotes is what you want displayed. I think anyway. It's been a while since I did it.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User