プレイ日記
King 5kittens645
Ok, quick question, How would i make it where if i pressed UP on the depad, then it would save your progress in the game? And also, how would i make where if i pushed a button it would load that data? Basically i need to know how to save and load data while playing the game.
0そうだね
プレイ済み
返信[1]
親投稿
Lacks DHaze420
There are tutorials you can google for this. Many are on SmileBASICSource
0そうだね
プレイ済み
返信[2]
親投稿
King 5kittens645
Well, i'll google it, But most of the time the tutorials aren't helpful at all. I was hoping to get more useful information, but, Eh. :p
0そうだね
プレイ済み
返信[3]
親投稿
Lacks DHaze420
On that site I have a program called Idle Crunch [its on here too] In it the program has a Save and Load function. Follow the loops and apply it to your own game. :]
0そうだね
プレイ済み
返信[4]
親投稿
King 5kittens645
This is Way to complicated for me. Thanks for the help, but for now i'll just do something a bit more simple. if its alright with you i'll put you in the credits of my game.
0そうだね
プレイ済み
返信[5]
親投稿
King 5kittens645
How does is look? (Note, your name will only show up in the full "Would you rather" game) I hope you like it!
0そうだね
プレイ済み
返信[6]
親投稿
Lacks DHaze420
Looks good to me :) What the save is doing is saving the variables (sand, ore stone) value to an array. (SAVEARRAY) That array then gets saved as a file that can then be used to load all the values back into the variables. All you need to do is figure out which variables you need to save in your game and make the array big enough to hold them all.
0そうだね
プレイ済み
返信[7]
親投稿
King 5kittens645
Oh, well that sounds a bit confusing, but i'll keep it in mind for later. Plus, the game i'm making is text-based, so there is no real point in going through a lot of trouble for something small. Thanks anyway.
1そうだね
プレイ済み
返信[8]
親投稿
Lacks DHaze420
cool. I am also working on a text based game, but mine may require the save feature with how long I plan to make it
0そうだね
プレイ済み
返信[9]
親投稿
*J.P.* DEV NEWPICY3
oh! thats so helpful! but how can you save the x and y coords of the sprite? like to respawn when sprite is dead, or to save the location on the map? hmm.. very helpful though..
0そうだね
未プレイ