Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How Do You Save And Load Data?
- Code-io
- Scratcher
31 posts
How Do You Save And Load Data?
If you know the code to do the above then comment below
What is a Kumquat?
Check Out My Profile And See What's New Or Follow Me!
when this sprite clicked
go to [Code-io's Profile v]
- -Arachnid-
- Scratcher
100+ posts
How Do You Save And Load Data?
If you are simply asking for a save data system, then play with lists. If you know the code to do the above then comment below
when I receive [save]and then for the loading:
add [] to [list v]
when I receive [load v]This I doubt will work without some editing. I don't like scratch blocks much, they take too much time and require too much proofchecking.
repeat until <[found] = [yes]>
if <(item ( v) of [list v] :: list) = []> then
else
end
end
My signature is free advertising.
Website!
I've got a shop! Look for it in the forums!
I started a collab! Look for it as well!
Advertising disgusts hungry reindeer, killing their appetites.
- TheArcadeGuy
- Scratcher
100+ posts
How Do You Save And Load Data?
No, this is COMPLETELY incorrect. If a user wants to do a text file save (as in using a local save/load system), it would require the user to "See inside of the project. Otherwise, cloud data and lists would be needed.If you are simply asking for a save data system, then play with lists. If you know the code to do the above then comment belowwhen I receive [save]and then for the loading:
add [] to [list v]when I receive [load v]This I doubt will work without some editing. I don't like scratch blocks much, they take too much time and require too much proofchecking.
repeat until <[found] = [yes]>
if <(item ( v) of [list v] :: list) = []> then
else
end
end
- Code-io
- Scratcher
31 posts
How Do You Save And Load Data?
I don't understand, give me the code
What is a Kumquat?
Check Out My Profile And See What's New Or Follow Me!
when this sprite clicked
go to [Code-io's Profile v]
- Discussion Forums
- » Help with Scripts
- » How Do You Save And Load Data?