Few lines of text
IsabelleK
Member, Sous Chef Posts: 2,807
Hello,
Did anyone manage to put few lines of text (one under another) into one actor, and iPhone/iPad/iPod is displaying them properly?
Did anyone manage to put few lines of text (one under another) into one actor, and iPhone/iPad/iPod is displaying them properly?
Comments
http://www.gsproforum.com/viewtopic.php?f=21&t=111
I checked this topic on GSProForum, and I have one question: I have many lines of dialogues in my game and sometimes they are separated in few lines. Now I have an actor for every line of dialogue.
Is it possible to use your tip to create few lines of defined text with one actor, and iPhone will display it as few lines?
I'm asking because making a different actor for every line of text is very tiring, and iPhone doesn't recognize CTRL+Enter command in Display Text behavior.
Thank you.
You have to enter it in the expression builder in GameSalad and you need to put it inside double quotes.
"Line 1\nLine 2"
If i'm wrong though and there is some device out there that doesn't work properly i'd be really curious to know why because that'd be wonky as hell.
I put about 4 lines in one Display Text behavior, in this situation I get white box. When I put them in two Display Text behaviors (of course with "\n"), then all works good on my iPhone 3G using the Viewer.
I still don't know why some of these texts are blurry, and some not on my iPhone (they are in the same actor).
I'd be gratefull if you explain it to me.
Thank you.