Can I update a game while saving people's progress?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • If you're using INI++ or Arrays or a whatever, as long as your game doesn't fundamentally change the way it reads those files and they exist in the same location, then yeah this shouldn't be a problem?

  • I've just been using regular Ini's in the game itself. I just learned there's a file location option in the Ini's properties, but will moving the folder its in mess it up because its still checking there or will it automatically change? I also learned you can do this with INI++, but I don't know how to use ++.

  • Okay, while I still don't really get how they work, I was able to figure out how to use arrays. But when a player downloads a new update, it would come with its own array file. Do you just need to replace the new file with the old one, or is there some other way to do it?

  • ?
    You create a save file with all the info.. (like mygame.sav) your update should NEVER come with a save file.
    then once you start the game you load the file back in, and set all the values wherever needed.

  • Ehm, What do you want to do? what so you mean by players... what are you trying to accomplish
    Maybe look at some tutorials..
    You just create a save file... There are tons of examples on the board, you tube, the web.
    a save file is just a save file... nothing more, nothing less.

  • I'm working on a game in Clickteam Fusion 2.5 to upload on Please login to see this link. (A website for posting indie games for others to play), and I want anyone who downloaded a previous version of the game to be able to save their progress in case I upload a new, updated version of it for them to download (with bug fixes, improvements, etc.). I did try looking for tutorials, but I didn't find anything related to what I'm trying to do, which is why I created this thread.

  • Using the AppData directory is the right way to go. All other save game locations may cause trouble if the app is not run with admin rights on the machine.

    Before saving there you have to create a save game location using the File-object: AppDataDirectory$( "File" ) + "\mygame\". After that you can save your data there (for example an array or ini called "settings") using the File-object: AppDataDirectory$( "File" ) + "\mygame\" + "settings"

    example: Please login to see this picture.

    You only need to create the directory for saving once, re-creating it will do no harm tho - if the directory already exists this operation will change nothing (all save data in this directory will stay untouched).

    Updating your .exe will not change or erase any files in the AppData directory. Like the others said, just make sure not to change your file saving and readout routines.

    Please login to see this link.
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

    Edited once, last by Julian82 (April 22, 2020 at 7:29 AM).

  • So if other people download the game, and it doesn't detect a save file in that directory, will it recreate it on that person's computer for any version of the game to use?

    Edited once, last by Calder (April 22, 2020 at 8:29 AM).

  • So if other people download the game, and it doesn't detect a save file in that directory, will it recreate it on that person's computer for any version of the game to use?

    A save data directory needs to be created manually, like I outlined. If it already exists, the event to create the directory will not override the directorly or saved files in that directory. The version of the .exe does not matter, as long as the events loading the save data refer to the right AppData folder.

    Tutorial on Array/ Ini plus example .mfa (not checked the download myself though): Please login to see this link.

    Please login to see this link.
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!