Save Game?

triton13triton13 Member Posts: 161
edited February 2012 in Working with GS (Mac)
Hey guys, I watched the Multiscreen Menu videos by tshirtbooth and now I want to make it so it saves when it unlocks levels and loads when you start the game up. I understand to make a load attribute at the main menu screen but I don't know what attribute to save and where to put it. Also with display text, is there any way to make it so I can have one line of text under another using the same display text?

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    edited February 2012
    I thought that gameAttribute "unlock" was covered in the video … part 3 of Multiscreen Menu

    that would be the attribute you would save/load for continuing (reopen game)

    ---
    on Display Text just typing in the text field gives you multiline
    if you are using the expressionEditor to display attributes
    … remember that the computer is reading/writing textStrings (letters and numbers)
    so you have to format that expression correctly

    EX: game.Attribute1.."\n"..game.Attribute2
    or: "Score: "..game.Score.."\n".."HighScore: "..game.Highscore
    ..   tells the computer there is more data
    " " tells the computer that this is letters to add
    "\ tells the computer that this is a command and what follows is not for display
    n" tells the computer to put what follows on a newLine
    (use [option]+[space]  to put spaces in your expression text)
    @};- MH
Sign In or Register to comment.