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

#1 2009-05-08 10:19:13

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Saving scripts

You can save costumes and sprites, so why not scripts? You just right-click on a script, and then choose "export" and then save it as a .SST(Scratch Script) or something(I'm sure there's no such thing as a .SST file though).

To import one you click on a sprite, and click a button called "Import Script". You press it, and it shows all the scripts you've saved in the folder you're looking in.

So, what do you think?

Last edited by BWOG (2009-05-08 10:20:40)

Offline

 

#2 2009-05-08 10:30:00

Dibbo222
Scratcher
Registered: 2007-11-03
Posts: 100+

Re: Saving scripts

yeh gud idea - but u can currently do this by saving a sprite with the scripts on it - but i agree this wud be easier


The biggest tower defense game on Scratch?
http://scratch.mit.edu/projects/Dibbo222/929092

Offline

 

#3 2009-05-08 11:04:05

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Saving scripts

export/import works nicely as well, but i support this idea

Offline

 

#4 2009-05-17 11:55:43

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Saving scripts

Anyone else?

Offline

 

#5 2009-05-17 12:37:43

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Saving scripts

good idea

maybe a .ssf (scratch script file) or a .ssd (scratch script database)


@savi3000 | hcsmp.com

Offline

 

#6 2009-05-17 13:31:02

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Saving scripts

Why don't you just put the script into a sprite and save the sprite? Then you can even save/open multiple scripts as a sort of a package.

Offline

 

#7 2009-05-22 13:41:37

chrstphre
Scratcher
Registered: 2009-05-22
Posts: 4

Re: Saving scripts

Along these lines; It would be very convenient to be able to save a script and then be able to call it up as a Universal Subroutine... It would be kind of like Broadcast/Recieve, which i interpret as GOTO, Without The Return...
( i've gotten around this by simply telling my main script to Wait for a second, until the Receiving Script has finished it's Assignment ! )
But this New Feature; Universal Receive would allow programmers to create very large libraries of subroutines, without having to recreate them each time...
i understand how saving an using a sprite might do this; But this way seems subtly more elegant...???

Offline

 

#8 2009-05-22 19:26:59

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Saving scripts

chrstphre wrote:

Along these lines; It would be very convenient to be able to save a script and then be able to call it up as a Universal Subroutine... It would be kind of like Broadcast/Recieve, which i interpret as GOTO, Without The Return...
( i've gotten around this by simply telling my main script to Wait for a second, until the Receiving Script has finished it's Assignment ! )
But this New Feature; Universal Receive would allow programmers to create very large libraries of subroutines, without having to recreate them each time...
i understand how saving an using a sprite might do this; But this way seems subtly more elegant...???

You should try using the Broadcast and Wait block...it's like the GOSUB with the RETURN.   smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#9 2009-05-22 23:10:24

ScratchX
Scratcher
Registered: 2009-05-05
Posts: 1000+

Re: Saving scripts

i was thinking bout this too


Happy New Year!
http://i45.tinypic.com/1nyasi.pnghttp://i50.tinypic.com/219pez8.pnghttp://i49.tinypic.com/e5s4zr.pnghttp://i48.tinypic.com/23l18hf.jpghttp://i49.tinypic.com/66zymu.png

Offline

 

Board footer