What are the text formatting shortcuts?
Balvamar
Member, PRO Posts: 117
I have read a lot of forum posts about formatting text, line breaks, etc.
Some of them seem to work for some people, and not others.
My question is....
What are the shortcut keys to achieve the following....
1. Line break......... "\n", or "/n or "/r".
2. Space in the expression bar. Eg "my score"........etc. option + space bar
Are these correct? Is this information made public anywhere?
If so make it more public cause I can't find it!
If there are other formatting options please post them here. I feel as if they are a trade secret!
Comments
One for line breaks, is to create your text in a spreadsheet with the line breaks where you want them, then import as a csv.
the two ones i use almost daily are adding space in the expression bar, which should be option-space not option-enter.
the other one is to combine text and attributes into a single expression
"You have scored "..game.HighScore.." points!"
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Cool, thanks, keep them coming people! Let's get them all here's!
have fixed the original post.
A space In the expression bar......option+spacebar
You can do a line break with \r or \n, like this:
"Hello\rWorld" - Entered in the Expression Editor will display
Hello
World
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
What are the shortcut keys to achieve the following....
"\n"
Public? Yes, as in posted in the forums. But public isn't the same as easy to find. You could search and find quite a bit of information about this but it's also fine to ask a question, as you've done.
I wish there was still a Wiki but that's another discussion.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
There's actually a fair bit of flexibility in the expression editor that I've not seen mentioned much/at all on the forums. Some of it pretty obscure and not hugely useful, but I'll put together a quick tutorial.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Check out @Armelline's new post about displaying text
Thanks for the input everybody. I guess my goal was to try and get a a post that contains as many tricks as possible. And yes my point was that information is not easy to find sometimes in the forums, and takes time to learn the right "key words" to search with. As a new user it has taken me a bit of time to find out exactly the right search terms to find the information I need