User Tag List

Results 1 to 6 of 6

Thread: Does saving with INI slow a game down

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    558
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Does saving with INI slow a game down

    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!

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)
    RedShadow's Avatar
    Join Date
    May 2020
    Location
    Croatia
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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!

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    janpier's Avatar
    Join Date
    Dec 2014
    Posts
    242
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    558
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    558
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    558
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Never mind... I made an error and I figured it out...

Similar Threads

  1. Game really slow with UWP
    By Dobermann in forum Universal Windows Platform Module 2.5
    Replies: 11
    Last Post: 22nd February 2019, 11:31 PM
  2. My iOS game works so slow
    By Capote in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 2nd October 2013, 11:34 PM
  3. My game is very slow !
    By flechenoir in forum iOS Export Module Version 2.0
    Replies: 12
    Last Post: 13th January 2012, 05:42 PM
  4. game slow down
    By pirodaggar in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 1st July 2008, 03:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •