Does saving with INI slow a game down

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.
  • Hi,
    I'm considering implementing an auto-save feature for my games but I'm not sure how often I should save to an INI. I want the saving to work on all HTML5 platforms (computers and mobile), but I don't want it to slow down the game. How often would be recommended to auto-save without causing problems? Thanks!

    Edited once, last by brett (November 25, 2022 at 4:03 PM).

  • If you do an always event it is pretty rare to make the game slow down unless you are making like 100 ini items in a second.
    You can do every second. It shouldn't hurt!

    My games:

    • Please login to see this link.
    • Please login to see this link.

    <3

  • I would try to maximize performance considering that it will have to work on mobile, an automatic save would be preferable perhaps reaching a goal, for example even every 100 coins collected

  • Thanks for your thoughts. I was thinking of auto-saving after reaching specific checkpoints, like every frame transition, and also maybe every 5 minutes or so. It sounds like that should be ok based on your responses. Thanks!

  • I tried implementing a time-based saving system and found that it works fine for saving strings but not for values or positions of objects. Has anyone else seen this?
    The code was set to save strings, a value, and a position every few seconds. It saves strings no problem, but won't save the others. It this a limitation of the INI? Do you have to click a button to make it work for saving values or positions? Note: Saving values and positions worked when it was a button but not when timer-based (same event other than the trigger being different). Any thoughts? Thanks,
    Brett

Participate now!

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