User Tag List

Results 1 to 7 of 7

Thread: Assarray to Save/load

  1. #1
    No Products Registered

    Join Date
    Aug 2008
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Assarray to Save/load

    I was trying to use "Save Object" and someone said use "Assarray Object". I got it, and I still cannot figure out how to Save/Load my Game. Any help on the method? Does anyone have an example to show me?

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Assarray to Save/load

    Are you sure they weren't joking when they said Assarray? Iv'e never heard of that extension.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    729
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Assarray to Save/load

    I think they are referring to the Associative Array Object but I have never used it OldGuy, sorry!

    K

  4. #4
    No Products Registered

    Join Date
    Aug 2008
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Assarray to Save/load

    It is on a list called "Neat-(something) Extensions", written by Matt Galanto.

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Assarray to Save/load

    Associative Array is indeed one of the many possibilities for saving/loading. But none of those will make it save/load automatically : if you want something saved you'll have to create an action to save it yourself and same for loading.

    For example if you need to save character's name, position and gold you'll have something like this :
    On User pushed button "Save" :
    +Set "name" to string Global String 1
    +Set "xPos" to value X("Active1");
    +Set "yPos" to value Y("Active1");
    +Set "gold" to value Gold("Active1");

    And you'll have to load all this. The method will be quite similar using INI, INI+, XML, AssArray, any database, any array... Or any data extension able to load/save files.

    EDIT : Of course things are harder if you have to save many many things, like monsters, inventory and such. If you need to save such informations you'll haveto be more careful ofthe way you design your saving/loading process

  6. #6
    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: Assarray to Save/load

    Just out of curiosity, how is the Associative Array any different from the Named Variables Object?

  7. #7
    No Products Registered

    Join Date
    Aug 2008
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Assarray to Save/load

    Jaffob,

    I have no idea, that is my problem. The basic problem is that I made a bunch of LONG games in KnP. One with 80 (Count 'em 80) levels. Many with 30ish. I want to play 10 or 12 layers, save it, and then return to the same place. I got too soon old, and too late smart.

Similar Threads

  1. Save and load?
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th June 2012, 02:44 AM
  2. How to save and load with INI ?
    By devripper in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th February 2012, 05:46 PM
  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. AssArray Save and Load Example
    By nivram in forum File Archive
    Replies: 2
    Last Post: 13th December 2008, 12:11 AM
  5. AssArray save and load
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th July 2008, 09:52 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
  •