This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-02-07 20:23:37

evilscratchkiller13
Scratcher
Registered: 2010-02-07
Posts: 40

How do I make a save system in scratch?

How can I make a script that allows users to save their project without using that outdated NetScratch?

Offline

 

#2 2010-02-07 20:51:05

evilscratchkiller13
Scratcher
Registered: 2010-02-07
Posts: 40

Re: How do I make a save system in scratch?

There is a project that uses a save system out there, I heard, but I'm currently blocked on the projects section.

Offline

 

#3 2010-02-08 00:11:21

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: How do I make a save system in scratch?

Hmmm... maybe you could try storing information in a list?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2010-02-08 00:15:37

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: How do I make a save system in scratch?

I saw a project once that you could export... search Jasper's stuff and look for something titled "Save and Load".
I think that was the name...


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#5 2010-02-08 00:37:50

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: How do I make a save system in scratch?

Here's the project: Save and Load (Yep, you got the name right.  smile  )


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#6 2010-02-08 00:56:31

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: How do I make a save system in scratch?

There are numerous ways to write everything into a single list. But this varies from project to project. In terms of actually writing lists or scratch projects to the disk using a script, you'll need to hack squeak. I may be able to help you with this... but first, what exactly do you want to do?


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#7 2010-02-08 05:44:54

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: How do I make a save system in scratch?

There are a few ways. One of the simplest ways is to just not reset every time the green flag is clicked. There's another way that resembles some flash games. (I'll quickly explain here:)
1. Make a list for your save file
2. Create the algorithm to figure out what the information means
(saving instructions)
3. Use the algorithm to record variables in the list
4. Export the list to a place that you will remember
(loading instructions)
3. Import the list
4. Use the algorithm to set the variables to the information in this list


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

Board footer