プレイ日記
Simon Snoofles
For the game I am making, I want to make a save feature. Is there a way to store variables in a save file and then read and write to them as if they were in the main program itself?
2そうだね
プレイ済み
返信[1]
親投稿
Levi LeviJS
You could do this to save: (loading up next)
0そうだね
プレイ済み
返信[2]
親投稿
Levi LeviJS
Here is how to load the saved array with a button press
0そうだね
プレイ済み
返信[3]
親投稿
Simon Snoofles
It gave me the error Type mismatch in 41, which is where I put all the variables equal LARRAY
0そうだね
プレイ済み
返信[4]
親投稿
Levi LeviJS
I made a mistake. LARRAY should be LoadArray (I was trying to make an old example of mine easier to understand by spelling out the array name)
0そうだね
プレイ済み
返信[5]
親投稿
Simon Snoofles
I tried that and it works! Thanks!
0そうだね
プレイ済み
返信[6]
親投稿
Levi LeviJS
glad I could help!
0そうだね
プレイ済み