Display Text Issues.

Omegas7Omegas7 Member Posts: 37
edited November -1 in Working with GS (Mac)
Ok, here I go:

1. Is it me or the align options don't work properly? They seem to always appear at the center...
2. How about if I want to show plain text PLUS an attribute? Like this:
"You got 25"
"You got" is the plain text and 25 is the attribute value, let's say, game.score.
It won't work using the expression editor when I put something like...
"You got" + game.score
or
You got game.score
Or does it work? (Haven't tested it much).

Comments

  • CobraCobra Member Posts: 160
    The align options kick in when you have a text display that uses multiple lines (option-Return for a new line).

    You can string different elements together using two dots like this:
    "You got "..game.score

    Hope that helps!
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Good job finding that Cobra. Even I didn't know that. :p
    Looks like the center of the actor is the center of the longest row.
  • CobraCobra Member Posts: 160
    I thought you were the one who told me that, CM... :D
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Not the .. part, the alignment actually working, sort of. Unless I forgot I knew.

    CodeMonkey needs a vacation.
  • butterbeanbutterbean Member Posts: 4,315
    Codemonkey, you deserve a vacation! In fact, I believe all the help you've given me alone, you deserve a looong getaway.. :)
  • Omegas7Omegas7 Member Posts: 37
    Thanks, it is now working.
    But when I make multiple lines, the behavior would show them in a single line instead of multiple ones...
    Is there a way to display multiple text lines at once instead making many actors...?
Sign In or Register to comment.