Simple display text question
bobtheturtle
Member Posts: 226
How to "display text" like so:
levels:1
score:(game.score)
So basically how do you display the words "level" and then under that, an attribute? All of this inside a single image.
levels:1
score:(game.score)
So basically how do you display the words "level" and then under that, an attribute? All of this inside a single image.
Comments
Hi @bobtheturtle was you the guy who started the same thread a week or so ago? Just wondering... if you were, and you had the trouble with "\n" on some devices, so I suggested using "\r" in place of them, how did it go?
Either way, back to your question; put the following in via the Expression Editor:
"levels:1".."\n".."score:"..game.score
If you want a space after the colons, hold down alt and then space-bar to get the space.
"levels: 1".."\n".."score: "..game.score
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps