Pretty much you need to figure out everything you think you`ll need in your game but for example anyway :
dim my_array(100) as float
for x=1 to 100
my_array(x) = rnd(100.0)
next x
if file exist(data.dat) = 0
FileID = find free datafile()
Filename$ = "data.dat"
open datafile to write FileID,Filename$
for x=1 to 100
write datafile float FileID,my_array(x)
next x
close datafile FileID
else
open datafile to read FileID,Filename$
for x=1 to 100
read float FileID,my_array(x)
next x
close datafile FileID
endif
I prefere Matrix1 plugin and this is writen in it.It`s good one, i recomend it to you.
Good luck with your game!
Where there is a will, there is a way.
I often edit my posts, that`s who i am
