Adding a space in an expression (i.e. Display Text)

xarmianxarmian Member Posts: 124
edited November -1 in Working with GS (Mac)
Is there any escape sequence or other way to add a space into an expression for a display text? I'm trying to do something like:

"This is your score: "..game.Score

But you can't put a space in an expression, and that's the only way to add the variable. I could use two actors, but then spacing will be skewed and it should be unnecessary. I'm wondering if there's a \<char> sequence like \t that will let you do spaces. \t would almost work, but it's too many spaces.

This seems like a bad limitation of the expression editor...

Comments

  • xarmianxarmian Member Posts: 124
    I found a painful workaround - exit GameSalad, find the XML file that describes the actor with the display text behavior, and add the spaces by hand. Reopen gamesalad and the spaces are there. Don't click on it though or the expression editor will open and will remove the spaces.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    It is very simple just press option and space at the same time.
  • xarmianxarmian Member Posts: 124
    Wow I never would have thought to try that.. Thanks scitunes.
Sign In or Register to comment.