Big leap of text need for every line a new actor?

BasGoodboyBasGoodboy 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

  • AdrenalineAdrenaline Member Posts: 523

    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

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited July 2014

    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

  • AdrenalineAdrenaline Member Posts: 523

    What @gyroscope‌ said lol

  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    edited July 2014

    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

  • BasGoodboyBasGoodboy Member, PRO Posts: 310

    Works now. It must be wrapped inside text indeed.

    Goodboi Gamestudios | Monster Jumper now on the App Store

Sign In or Register to comment.