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

#1 2011-12-30 18:20:32

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

codes

okay a lot of people say ise codes to do things like save a project and other complex such but i cant find a block or anything that allows codes can someone enplane this to me


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#2 2011-12-30 18:52:29

juliabrookek
Scratcher
Registered: 2011-07-18
Posts: 100+

Re: codes

Do you mean save a project as in saving your progress at a checkpoint in a game, ot save a project as in make it so you can exit Scratch, come back and work on it more? Please be specific.


smile http://dragcave.net/image/rgNE5.gif smile

Offline

 

#3 2011-12-30 19:07:20

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: codes

save like a cheakpoint so if you fail or leave you can return were you left off


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#4 2011-12-31 09:58:44

juliabrookek
Scratcher
Registered: 2011-07-18
Posts: 100+

Re: codes

Well, if the game was one mode/one character, you could make a variable called 'savegame' or something. Set it to 0 before uploading it, but don't make a 'when start clicked, set it to 0' script. Whenever the character touches a specific check point, you could change the variable to whatever, but it has to be checkpoint-specific. For example, you could do something like 'checkpoint1' for the first one, 'checkpoint2' for the second, and so on.
Then, you could make an option on the title screen called 'load game.' When you clicked on that option, do 'if savegame=checkpoint1' go to the first checkpoint, 'if savegame=checkpoint2' go to the second one, and so on.

Hope this helped!  wink


smile http://dragcave.net/image/rgNE5.gif smile

Offline

 

#5 2011-12-31 10:06:24

PandersQuest
New Scratcher
Registered: 2011-12-19
Posts: 18

Re: codes

if you mean like an auto-save feature, I made one here.

Offline

 

Board footer