Array tutorial - Save and Load Data / Strings n Numbers

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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. XD
    [video=youtube_share;XEHw7udrOsc]Please login to see this media element.]
    Please login to see this link.

    :D

    Sparckman :pacman::pacdot::pacdot::pacdot::pacdot::pacdot::pacdot:

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • 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 ;)

  • Hi sroesner, I have two arrays in the example one numeric and the other one is text.
    Please login to see this link.
    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

    Please login to see this picture.

    Please login to see this picture.

    Please login to see this picture.

    for saving INI DATA here is another tutorial
    Please login to see this link.

    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.

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • 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.

  • 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?

  • player 1 and player 2 .. oh okay I can do an example like that XD -- I'll post an example in a few.

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • here is an example with multiple scores save in the same array.
    Please login to see this link.

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • You are so nice, and I truly appreciate your time! The people on this forum are wonderful. I'm so sorry I'm not communicating very well. Say you have a class of third graders playing the game on iPads. Johnny, Susie, and Mike are using IPad 1. Emma is using IPad2. Is there a way for Susie to continue the game by selecting her name from a list and having it load all of her scores. When Johnny gets the same iPad he can get into his game where he left off by choosing his name from the list. Emma does the same on iPad2. Then the teacher could select names from the list to see the scores of all of the students played on any iPad. I saw something about creating individual ini files for each student? I was hoping there was a way to store all of the kids' data maybe in groups or arrays into one file. It is a multiplication game where I need to store their pretest and posttest info to see if the game makes a difference.

  • well if ya need to access the data from different devices, the best way is probably using a mySQL database instead. The online highscore tutorial by Jeff is probly the best choice. I'll make an example later on today. here is the link to the tutorial: :D
    Please login to see this link.

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • I have gone through all of the MySQL tutorials. I understand how to fetch data from the database into fusion to display and edit data within the database on the Webhost. I don't want the students to enter their scores on the screen. When the last frame of the game ends, I need it to save the player's name and scores directly to the database. Since I already had my ini files saving data, I have tried just saving the player name from the ini file to the database, but I am not having any luck. Is there any way you could post an example mfa?

  • Had it working hit and miss and was about to pull my hair out wondering what I was doing wrong - then I saw the post from PiscesDreams about it being banned by AT&T. I have AT&T. I'm shopping for a new web host now.

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!