Bug: Display text is displaying all characters
Goodnight Games
NYCMember, PRO Posts: 184
I'm using display text for some of my game and in order to put spaces in I used the \n command. In gamesalad itself it's fine and you can't see the characters but when I upload it to the web it displays everything on screen.
I've also put line breaks in for multiple lines of text and those don't work either it just displays as one long sentence.
Has anyone had any experience with fixing this? Thanks!
I've also put line breaks in for multiple lines of text and those don't work either it just displays as one long sentence.
Has anyone had any experience with fixing this? Thanks!
Comments
\
"x"..game.comboCounter.."\nScore:"..game.comboScore
The other that's showing up is
"\n\n\n Collect"
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
"x"..game.comboCounter.."\n".."Score:"..game.comboScore
"\n\n\n".."Collect"
See if that does it.
-------
Here's a tip if you don't know: if you wanted a space after a word in the Expression Editor, "Score:" for instance, press alt-spacebar to get the space, like this: "Score: "
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Edit: Nope that didn't work either
That's strange; either way should work...not sure what's going on either now, sorry I couldn't help...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
@neondevil
OK, take two: try replacing all instances of \n with \r instead.... see if that works on all versions...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User