Save game within editor

  • #10, by afrlmeMonday, 12. October 2015, 20:17 9 years ago
    You need two autosave slots. One for new game & one for continue / resume game.

    You only need to create the autosave for the new game one time only which should be in the first non-menu scene & should only be created if the autosave does not already exist. My recommendation: get used to using if queries. wink

    Imperator

    7278 Posts


  • #11, by ygmantellTuesday, 13. October 2015, 00:12 9 years ago
    Ok, I did that, but now that I am only able to resume the game from where I last saved, not start a new game, because the autosave action at the beginning was only added now. How do I get rid of my already saved games?
    Thanks

    Great Poster

    274 Posts

  • #12, by afrlmeTuesday, 13. October 2015, 00:31 9 years ago
    inside of your new game button / object create an if query...

    if autosave #1 exists
    load autosave #1
    else
    change to scene x (or whatever actions you have already)
    end if


    then in your resume button / object

    if autosave #2 exists
    load autosave #2
    end if


    To delete the autosave files on game launch...

    1. go to game (cog / gear icon)

    2. Add these actions to the at begin start following action...

    if autosave #1 exists
    delete autosave #1
    end if
    if autosave #2 exists
    delete autosave #2
    end if


    & voila.

    P.S: Damn mate, I believe you've asked the most amount of questions on the forum in a long time.

    P.P.S: a lot of the stuff you've been asking about has been covered in older threads & some of them probably from not that long ago.

    Imperator

    7278 Posts

  • #13, by ygmantellTuesday, 13. October 2015, 00:57 9 years ago
    Thanks for putting up with it.

    Great Poster

    274 Posts