: ok i have this game that has a muti demental array for each map the maps are not vary big to all to geather it has about 800 values. is there an esay way to save all 800 values to a txt file, if so how?
: thx cloudncali
I don't know how to save to files yet, but the most logical solution is to save them as strings, where each number in each row is separated by a space, and the rows are separated by line endings. This gives a text file, which looks like this:
1 2 3 4 5
6 7 8 9 10 11
12 13 14 15
16 17 18 19 20
Perhaps a predefined java class already has a save/load method for this, otherwise it is simple enough to write one.