User Tag List

Results 1 to 8 of 8

Thread: save down around 1000 global values and load them?

  1. #1
    No Products Registered

    Join Date
    Oct 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    save down around 1000 global values and load them?

    can you do it and how i have never done any saving on my other games and now i have made a big RPG game

    so do some one have an easy way to do it?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2011
    Location
    France
    Posts
    356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    Try the ini file. It might be a big file, if you're working with a thousand values. But it's quite easy.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    It depends a lot on what your values actually represent.
    There are loads of data storage extensions you could use, but some are just easier to use for certain things than others.

    For example, if it's the kind of information you could store in a table, then an array would be ideal. Ini files are good for groups of related values, and are human-readable (and therefore easy to edit). For other things, you might use a list, binary file, etc...

  4. #4
    No Products Registered

    Join Date
    Oct 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    well its global values no strings and stuffs

    i realy dont have taht great experience of mmf2 i have used the tols i know

    i know nothing abot ini files or stuff like that

    i need a simpel description how i can store every singel global value and load it later

    just fore save load funktion

    its weard how mutch i have done and how advance the rpg realy is whid this little knowlege of the tools
    ben working whid it fora about 800 ours i think

  5. #5
    No Products Registered

    Join Date
    Oct 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    as long its funktional

    they represent everything how many items of every kind you have your life levvel position and so on

  6. #6
    No Products Registered

    Join Date
    Oct 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    I gues i need to lern about does ini files huh =P

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    There's no inbuilt way to save the Global Values/Strings to a file. It's possible using a custom method, but using INI or an array would be significantly easier, so you might as well learn to use one of those.

    I personally haven't used many arrays in MMF, but I can tell you the INI format is quite easy to learn. This is an example of what you could save in a file:

    Code:
    [PlayerInfo]
    Name="dyxeldoff"
    Health=100
    Money=123456
    Level=33
    
    [WorldInfo]
    Temperature=63
    Day="Tuesday"
    That's what the format looks like. It consists of groups (the names in brackets) and items (under the group names). To save and load INIs, you can either use the INI Object, which ships with MMF, or the INI++ Object if you need more advanced features.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: save down around 1000 global values and load them?

    Arrays are fantastic as well for lots of variables, however if you dont keep track via writing them down or a spreadsheet, it's easy to get lost and forget what variables are for what.

    I use arrays for all my projects simple for the versatility and for the fact they are more difficult for the basic user to edit/mess with. While they arent 100% protected, they serve their purpose nicely.

    I have an example on how to load and save from arrays on my website, linked in my signature if you are interested in learning arrays!

Similar Threads

  1. Save / Load Global Values to an INI File
    By Danny in forum File Archive
    Replies: 3
    Last Post: 16th January 2013, 11:33 PM
  2. can INI+ be global between subapps sans save/load
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th October 2009, 01:29 AM
  3. Save status of entire game (load / save values)
    By DEKE15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 13th September 2009, 10:17 AM
  4. Simple INI Example - Save and Load Counter Values
    By Stephen in forum File Archive
    Replies: 0
    Last Post: 22nd April 2009, 12:23 AM
  5. save global values without saving the whole frame?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th December 2008, 04:48 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
  •