Saving game on exit

alexander144alexander144 Member Posts: 93
edited November -1 in Working with GS (Mac)
Searched for something on this but couldn't find anything. Basically, I have a level unlock system but will the game save the level progress when the user exits or do I have to put in a function for that or something?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    theres a save attribute behavior. On each scene when you beat the level have a save attribute behavior and save the attirubte that you use to detect when the levels beat. And then at your start screen wen the game starts have load attribute behaviors for all those attributes
  • alexander144alexander144 Member Posts: 93
    That video helped heaps, thanks. Does this work on gamesalad viewer if I load it from the thing after I have played a bit and not from the mac?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    alexander144 said:
    That video helped heaps, thanks. Does this work on gamesalad viewer if I load it from the thing after I have played a bit and not from the mac?

    it wont test on your computer. If you play on the viewer exit, then reload from the computer to the viewer it wont test either. But i think if you load it to your viewer, play threw exit, then reopen from the recent game menu in the viewer instead of loading again from the computer it works.
  • alexander144alexander144 Member Posts: 93
    Sorry I meant the viewer on the iphone.
  • alexander144alexander144 Member Posts: 93
    bump.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    i told you your answer. If you load the game to the viwer then exit it, then reload the game to the viewer it wont work. If you load the game to the viewer play it then instead of reloading it select it from the recent game menu in the viewer it works i tihnk
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    tshirtbooth said:
    JohnPapiomitis, if you reload the game i think it works as long as its names the same thing. If its renamed it will not work. At lease i think that is how it works.

    cheers'

    _________________________________________________________________________________

    NEED HELP WITH YOUR PROJECTS? NEED A QUICK FIX?
    I will give you hand on help over skype or email $25.00/30min or $40.00/1hr

    Cut the Rope Style menu Template
    Menu System #2 Template
    Cover Flow and level unlock Template
    Missile Command Template
    Tiki Totem style template
    Labyrinth Template
    FREE YOUTUBE VIDEOS

    thanks for clearing that up tshirt. i dont realy rename to often so its never been a issue for me

    cheers
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    800 save files... GEEK! :P haha

    Ace
  • QbAnYtOQbAnYtO Member Posts: 523
    actually it DOES work in the viewer. heres how i got mine working:

    hit preview button
    -game starts-
    double click the scene that has the "save" rule on it
    -save scene loads-
    then double click back to a scene where YOU setup to load that save state
    and then finally load it.

    it should work..

    on my game i have in the menu:

    New game
    Continue

    if i load say, scene 3 and then i double click on the first menu scene i just described and click continue, it will take me to scene 3.

    but thats because i have the scene save automatically when it loads.. :)

    hope that helps :)
Sign In or Register to comment.