User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Array tutorial - Save and Load Data / Strings n Numbers

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Array tutorial - Save and Load Data / Strings n Numbers

    Here is how you can save data numbers and text using the array object - suppppppper easy.
    This can easily be used to keep track of an RPG inventory.

    Support Files



    Sparckman

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Is it working on iOS ?

  3. #3
    Clicker Fusion 2.5

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I love your tutorials!! I am a newbie writing a children's learning game for a master's degree so this is probably a stupid question. I was using an ini file to save the student's data - player name, score on Pretest, Game 1, etc. I have it saving one student's data so that he can continue on in the games. I don't understand how to save multiple student data in one ini file? I need to do a beta test this weekend, and I need them to be able to log into the game on a website from an ipad, and have it store their data to do a summative evaluation on the game and its effect on their performance. I thought maybe I could store multiple arrays in one file? I'm just not sure how

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi sroesner, I have two arrays in the example one numeric and the other one is text.
    example
    To save multiple arrays you can save data like this:

    use X,Y

    X=1, Y=1
    X=1, Y=2
    X=1, Y=3
    X=1, Y=4


    a new array would be

    X=2, Y=1
    X=2, Y=2
    X=2, Y=3
    X=2, Y=4


    Here is another one

    X=3, Y=1
    X=3, Y=2
    X=3, Y=3
    X=3, Y=4







    for saving INI DATA here is another tutorial
    http://community.clickteam.com/threads/89685-Save-Data-INI-Strings-Numbers-Object-Position-Tutorial

    To save multiple data in the INI file
    just give it the data different names

    INI is probly easier but I can see how it array would be faster to work with when handling large amount of data.

  5. #5
    Clicker Fusion 2.5

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I probably described it the wrong way. I currently have it saving all the data for one student in an ini file. I need it to save the data for multiple students in one file. So, for example, two students in the same class or household log onto the website to play the game. Currently, when the second student logs on, he will overwrite all of the data from the first student. If there is a way to save the data for both students in the same file, then, when the second student logs onto play, he will select his name from the list. It will retrieve the data from the last time he played and let him continue where he left off adding to his previous scores.

  6. #6
    Clicker Fusion 2.5

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since I'm limited on time, I found a download from lucky13_EasyLoadAndSaveSystem-arrays-version2.zip that sounds like exactly what I need. Maybe I will eventually learn it myself

  7. #7
    Clicker Fusion 2.5

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't look like the easy load and save system solves my issue about saving data from multiple users on the same device, i.e. player 2 data overwrites player 1 data. My ini is saving the data just fine when a player continues his own game. I saw something about the game center object - is that where you save groups of data so that player 1 can select his data to load from the list of players?

  8. #8
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    You need another one, (z) for storing the username..
    or Create the Array for that username instead to keep things separated.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    player 1 and player 2 .. oh okay I can do an example like that -- I'll post an example in a few.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    here is an example with multiple scores save in the same array.
    save_mulitple_scores_one_array.mfa

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Save Data .INI - Strings / Numbers / Object Position - Tutorial
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 5
    Last Post: 12th April 2015, 12:57 PM
  2. load data file to array
    By mnovoa in forum Android Export Module 2.5
    Replies: 0
    Last Post: 26th January 2015, 02:29 PM
  3. Replies: 2
    Last Post: 28th April 2014, 08:10 PM
  4. Save/Load external Array
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 6th May 2012, 11:31 AM
  5. How to load data into an Array
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 29th May 2011, 01:22 AM

Tags for this Thread

Posting Permissions

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