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

#1 2012-07-18 11:20:31

giamsan
Scratcher
Registered: 2012-07-13
Posts: 23

Anyone know how to make a save and load system?

I am making a game called infiltration (you can post ideas for it on my thread I made on project ideas), and I want to add a save and load system if it's possible, but I dont know how, so if anyone knows please tell me!

Offline

 

#2 2012-07-18 11:22:14

wolfdude999
Scratcher
Registered: 2012-01-07
Posts: 1000+

Re: Anyone know how to make a save and load system?

giamsan wrote:

I am making a game called infiltration (you can post ideas for it on my thread I made on project ideas), and I want to add a save and load system if it's possible, but I dont know how, so if anyone knows please tell me!

What type of data do you want to save?


http://i48.tinypic.com/15yxmp4.png

Offline

 

#3 2012-07-18 12:15:18

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Anyone know how to make a save and load system?

You'll need to add information to a list. So if the game has levels, add the highest level to the list or something, and make sure this is never reset. It should work when offline.


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#4 2012-07-18 12:47:25

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Anyone know how to make a save and load system?

A few ways that I can think of at the moment:

1.  Wait until 2.0 comes out with cloud variables
2.  Give "level codes"
3.  Do what Prestige said (I don't use lists as much)


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#5 2012-07-18 14:30:27

giamsan
Scratcher
Registered: 2012-07-13
Posts: 23

Re: Anyone know how to make a save and load system?

Thanks everyone. I think Im not going to add it anyway as theres no point

Offline

 

#6 2013-04-14 13:55:14

Saca312
Scratcher
Registered: 2011-03-24
Posts: 100+

Re: Anyone know how to make a save and load system?

I just found this save system, basic yet seemingly advanced. All credit to the creator.

It Is Capable Of

-Remembering what variables that were last saved even if you close out scratch, shut down your computer, etc.
-Able to work online
-Enabling for a way simpler, easy to use, way of saving compared to other ones out there (example: RHY3756547's version in his Sketch game on Antimonyarsenide's account)

Hope I helped, even though I see that you said you gave up  wink

Last edited by Saca312 (2013-04-14 13:59:22)


http://i.imgur.com/AeIvr.png

Offline

 

#7 2013-04-20 01:46:58

Aqibaslam123
Scratcher
Registered: 2013-01-28
Posts: 72

Re: Anyone know how to make a save and load system?

Thanks now I m making a project of load and save system.


Experience Real car racing here now with save and load system!!
http://scratch.mit.edu/projects/Aqibaslam123/3206807

Offline

 

Board footer