Big leap of text need for every line a new actor?
BasGoodboy
Member, PRO Posts: 310
Do I need, when I want to make a big lap of text, have to create a new actor for every line of text? Or is there a way to display a long lap of text with enters somehow??
Goodboi Gamestudios | Monster Jumper now on the App Store
Comments
I know it was done with something like ..\n.. in the past, BUT I just tested it out and it looks like all you need to do is press alt+ENTER in the text field
Hi @BasGoodboy
First to confirm what @Adrenaline says, and add a bit more detail:
So to have multiple lines showing via a Display Text behaviour, click on the "e" for the expression editor, and enter the lines of text you want showing, using .."\n".. for a new line; and alt+spacebar for spaces between words.
Example:
"This is the first line".."\n".."And this is the second"
will show as
This is the first line
And this is the second
If you wanted the engine to flow the text automatically, make sure the actor is large enough for all of the lines of text to show, then type the block of text normally in the Text field, all in one long line (or even a text attribute with the one long line of text as its value). Now select Wrap inside actor and the text will flow automatically for you.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
What @gyroscope said lol
Thanks a lot. In normal GS this all works.
I made it like you said, in viewer it works. In adhoc it doesn't show up?! Positions are good. @Adrenaline @gyroscope
Goodboi Gamestudios | Monster Jumper now on the App Store
Works now. It must be wrapped inside text indeed.
Goodboi Gamestudios | Monster Jumper now on the App Store