Display Text + Attributes not working in ios?
fiorentin
Member Posts: 58
Hi,
Im having a simple display text + attributes in my game showing score, highscore an so on. It works like a charm in the gs viewer but on my ipad only "GAME OVER" shows up.
The code looks like this:
"GAME OVER".." \r".."YourScore ".. game.Score .."\r".."HighScore ".. game.HighScore
Any ideas? Is the code above outdated or did i miss something else?
Kindly
F
Im having a simple display text + attributes in my game showing score, highscore an so on. It works like a charm in the gs viewer but on my ipad only "GAME OVER" shows up.
The code looks like this:
"GAME OVER".." \r".."YourScore ".. game.Score .."\r".."HighScore ".. game.HighScore
Any ideas? Is the code above outdated or did i miss something else?
Kindly
F
Comments
Hi @fiorentin That's odd, and everything look's fine to my eye, so personally I can't think what the problem could be...
...unless you've got "Wrap inside actor" checked and it "only just makes it" in the viewer but not on the iPad... so if it is checked, try unchecking it, see if that makes a difference... and/or temporarily reducing the type size, maybe?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Wow thanks! Tried different sizes but that didn't matter. It only works if "wrap inside actor" is on.
So do attributes in Display Text need the wrap on to work? From your answer it doesn't sound like that. But anyway, now it works. I will have to look into the wrap stuff to be able to understand why it didnt work with it off.
Thanks!
F