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![]()
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![]()
Is it working on iOS ?
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.
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.
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.
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![]()
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?
You need another one, (z) for storing the username..
or Create the Array for that username instead to keep things separated.
player 1 and player 2 .. oh okay I can do an example like that-- I'll post an example in a few.
here is an example with multiple scores save in the same array.
save_mulitple_scores_one_array.mfa