What are the text formatting shortcuts?

BalvamarBalvamar Member, PRO Posts: 117
edited March 2015 in Working with GS (Mac)

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

  • BalvamarBalvamar Member, PRO Posts: 117

    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.

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    edited March 2015

    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!"

  • BalvamarBalvamar Member, PRO Posts: 117
    edited March 2015

    Cool, thanks, keep them coming people! Let's get them all here's!

  • BalvamarBalvamar Member, PRO Posts: 117
    edited March 2015

    have fixed the original post.

    A space In the expression bar......option+spacebar

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    You can do a line break with \r or \n, like this:

    "Hello\rWorld" - Entered in the Expression Editor will display

    Hello
    World

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @Balvamar said:

    What are the shortcut keys to achieve the following....

    1. Line break......... "\n", or "/n or "/r".

    "\n"

    @Balvamar said:
    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!

    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

  • ArmellineArmelline Member, PRO Posts: 5,369

    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.

  • zweg25zweg25 Member Posts: 738

    @Armelline said:
    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.

    Check out @Armelline's new post about displaying text

  • BalvamarBalvamar Member, PRO Posts: 117

    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 ;)

Sign In or Register to comment.