User Tag List

Results 1 to 4 of 4

Thread: Another annoying question about saving ;)

  1. #1
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Another annoying question about saving ;)

    Hey I was just wondering. For now I'm just using the save frame position for my game and it seems to work so far. I have heard about it crashing sometimes though so I had an idea...If you use an ini you must keep track of a lot of different variables to save...Could I do like this...That I use a value add for just a few different objects that will keep track of all different things for the game? like for a town for example...there are 20 NPC's. I should be able to use just one object with different alterable values(char1=0,char2=0,char3=0 and so on) to keep track of all things they do? not let the character objects have individual values? And the very same object would have more different values for dungeons etc. In my mind that would be saving just one object to the Ini instead of 2000(or whatever) Would it work like that? Hope you understand what I mean

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    405
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    if you want to save only certain values to an ini, why go through an object at all? why not simply define which data you want to save to the ini and save and load it manually. its not very complicated at all.. simply set up your ini like this (as a rough example):

    [town1]
    char1=0
    char2=34
    char3=999
    ect..

    You can use this to save anything really, you dont need to go through an objects internal values. This is the method I would use

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I would personally just set it up so that the Ini/Array saves all the values per NPC and then loads them back in. No need to try and centralize all the NPC info into one or two objects...

    You can put all relevant objects in a group and then use ForEach or a fastloop to run through each object in the group and store it's values.

  4. #4
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    thanks for the replies. I'll look through the ini tutorial carefully

Similar Threads

  1. Question About Saving and loading text from ini
    By sheppard1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 11th December 2013, 11:11 PM
  2. I have a question about saving!
    By Cjimmy99 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th July 2011, 06:31 PM
  3. Very annoying !
    By Keli in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th January 2010, 04:38 PM
  4. [BUG] Sub-App bug, very annoying.
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th June 2009, 09:39 PM

Posting Permissions

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