User Tag List

Results 1 to 9 of 9

Thread: data store, which object?

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    data store, which object?

    yo!

    i wanna make an database where i put all the variables of my game.

    to this database i need

    - to direct compare the values of the data (if LIFE < 199, then do something)
    - to save data to an external file
    - to load data from the saved external file


    any recomendations of which object should i use?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    Associative array.
    You'll be able to crypt your file too.

  3. #3
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    i would be very interested in how to use the associative array or magic deque if anyone has any examples. I can't figure them out.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    Associative array is pretty simple to use. You simply add/modify values or string in a named "slot" (it's not a real slot since associative array seems to be a chained list).

    Thanks to the name of your value, you'll be able to retrieve it easily and make 2D,3D,4D,...,8D,...,X arrays.

  5. #5
    No Products Registered

    Join Date
    May 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    thanks sphax, i used this object, but i cant compare its values

    i need something like

    (CONDITION) ------- (ACTION)
    if KEY "level" is 03 -- Jump to frame 6

    i tried to do that, but it has only few conditions, like "test for Key exists" and "is array modified", that is no good for me

  6. #6
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    How about expressions, available from the Compare Two General Values action of the Special object?

  7. #7
    No Products Registered

    Join Date
    May 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    DavidN, sorry.. could u be a little more clear?

  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    Check the condition "Compare Two General Values" available in the default object named "Special" (the first one)

  9. #9
    No Products Registered

    Join Date
    May 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: data store, which object?

    thanks, it worked!

Similar Threads

  1. Store data on SD card - is it possible?
    By AdamDobay in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 25th March 2012, 12:00 PM
  2. INI or another method to store data
    By Dobermann in forum XNA Export Module Version 2.0
    Replies: 6
    Last Post: 24th September 2011, 10:04 PM
  3. Store data?
    By Grim in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 19th April 2011, 06:13 PM
  4. Store data text in array.
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 12th May 2008, 08:00 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
  •