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

#1 2010-04-12 15:49:06

simplegames
Scratcher
Registered: 2010-04-11
Posts: 6

Is it possible to save and load a game in scratch?

????????

Offline

 

#2 2010-04-12 16:43:46

somelia
Scratcher
Registered: 2009-09-13
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

It's possible, but it's probably very hard.

Last edited by somelia (2010-04-12 16:43:54)

Offline

 

#3 2010-04-12 16:46:44

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

It is not possible without "hacking" Scratch's source code.
Scratch, without help, cannot write to the filesystem.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#4 2010-04-12 16:57:50

somelia
Scratcher
Registered: 2009-09-13
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

But you can make it virtually save to your project, then make it virtually load to your project. *smiles*

Offline

 

#5 2010-04-14 14:54:48

Common_Sense
Scratcher
Registered: 2009-12-21
Posts: 100+

Re: Is it possible to save and load a game in scratch?

Just use passwords, like games used to before saving.


http://i44.tinypic.com/6dvort.png

Offline

 

#6 2010-04-15 07:01:15

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

Use level codes. You can  use the ask question feature so then put a sequence of numbers for every level.


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#7 2010-04-15 08:40:24

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

Common_Sense wrote:

Just use passwords, like games used to before saving.

Just use Panther (pantherprogramming.weebly.com).


http://i46.tinypic.com/dw7zft.png

Offline

 

#8 2010-04-15 08:51:12

RacerZmanx1
Scratcher
Registered: 2009-01-01
Posts: 54

Re: Is it possible to save and load a game in scratch?

The problem with level codes is that people share them and then someone can jump to the last level, complete it and say 'I completed the game' or, if they don't win it 'I got to the last level', when in reality all they did was cheat.


Fight for what is good, fight against what is bad, and be as epic as the entire Pokemon series while doing so.

Offline

 

#9 2010-04-15 13:11:13

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

Re: Is it possible to save and load a game in scratch?

Use a very random complicated algorithm to create a list using variables in the game. Also tell them something like... REMEMBER THIS :(insert something here)
and make them type that in for the save file to work.


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

 

#10 2010-06-03 09:37:59

Jango123
Scratcher
Registered: 2010-05-04
Posts: 2

Re: Is it possible to save and load a game in scratch?

You can just use variables to control everything and not reset them wen you start like

[blocks]<when green flag clicked>
          <set{move  }to(<x position>
          <forever>
         <move(1 )steps>
        <end>

Last edited by Jango123 (2010-06-03 09:42:09)

Offline

 

#11 2010-06-03 16:18:46

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Is it possible to save and load a game in scratch?

With my future game data autosaves to a list which saves with the project, so offline saving is achievable. My project can compile save strings for online use, but the demo doesn't even upload (too big).  sad

Offline

 

#12 2010-06-03 16:20:54

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: Is it possible to save and load a game in scratch?

like rhy said you have to use lists and variables
it is very hard
simple games check out the game in my signature?

Offline

 

Board footer