GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Video tutorial Save High Score

tollhousestudiotollhousestudio Posts: 166Member
edited November -1 in Working with GS (Mac)
Hey everyone, thought I'd do a tutorial cos it was a pain in my neck earlier when it wouldn't work.

Here it is:

Comments

  • ktfrightktfright Posts: 964Member
  • eliehangeliehang Posts: 105Member, PRO
    Thank you! very nice and simple tutorial video!
  • quantumsheepquantumsheep Posts: 8,188Member
    Nice one - that's how I did it too!

    (although being me, I ran into complications of course!).

    Cheers!

    QS :)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • beaudoin_nbeaudoin_n Posts: 184Member
    Thanks for the tutorial
  • tollhousestudiotollhousestudio Posts: 166Member
    no problem, just thought I've had lots of help on here so I might as well return the favour.

    Chris.
  • ktfrightktfright Posts: 964Member
    @tollhousestudio

    How did you get your score to save, even when you exited your game to the home screen and came back to it. How do you keep the score there forever?
  • quantumsheepquantumsheep Posts: 8,188Member
    As far as I understand it, anything saved is written out to an external file.

    For the game to access it, you have to load it back in. Put the 'load highscore' bit in on your main title screen for example, which the game will always start on so the high scores are loaded in.

    I'm pretty sure I've got it to work ok. I've submitted an update to Singularity Drive: Prologue. I guess I'll find out in a few days if I got it right ;)

    Hope that helps,

    QS :)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • tollhousestudiotollhousestudio Posts: 166Member
    Hey, as QS said there. You have to load it back in.

    So if you watch the tutorial vid again, on the main page of my game in the score actor.

    I put a load attribute first. Use the keyword I saved and the highscore attribute.

    Try breaking down the video and doing it at the same time it should work. And if you need to test if it is saving after you quit the game then do this:

    once you preview your game in gs viewer get a score then quit the viewer, open it again, but press "recent games" do not connect to gamesalad! It should have loaded your previous score.

    It works over here.
  • ktfrightktfright Posts: 964Member
    Thanks, it worked
  • capritecnocapritecno Posts: 1Member
    yep work
  • farosfaros Posts: 1Member
    Thanks for the tutorial
This discussion has been closed.