Video tutorial Save High Score

tollhousestudiotollhousestudio Member Posts: 166
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 Member Posts: 964
  • eliehangeliehang Member, PRO Posts: 105
    Thank you! very nice and simple tutorial video!
  • quantumsheepquantumsheep Member Posts: 8,188
    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 Member Posts: 184
    Thanks for the tutorial
  • tollhousestudiotollhousestudio Member Posts: 166
    no problem, just thought I've had lots of help on here so I might as well return the favour.

    Chris.
  • ktfrightktfright Member Posts: 964
    @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 Member Posts: 8,188
    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 Member Posts: 166
    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 Member Posts: 964
    Thanks, it worked
  • capritecnocapritecno Member Posts: 1
    yep work
  • farosfaros Member Posts: 1
    Thanks for the tutorial
Sign In or Register to comment.