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

#1 2007-08-26 07:10:59

swarnasras
Scratcher
Registered: 2007-08-26
Posts: 3

can we open and play a list of scratch files?

Do you have any ideas for a way to open and play a bunch of scratch files in a loop?
Could we use scratch programming to do this?

Offline

 

#2 2007-08-26 12:45:22

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: can we open and play a list of scratch files?

swarnasras, If I understand correctly you want to open a project after another one, is that correct? It would be great if there was a Scratch block that would let you open other projects but that functionality is not in Scratch yet.

Another way of doing this, I think, is by creating a batch file (in Windows it would be a .bat) that opens one project, waits, and then opens another one. Probably not exactly what you are looking for but I thought I would mention it.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-08-26 12:54:55

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: can we open and play a list of scratch files?

The batch file would not allow you stay in presentation mode, among other minor problems.

I like the idea of having a "load new program" block that takes a file name or URL as an argument.  It would provide a way for those demanding huge download limits to make their big games as multiple programs, but have links between the programs.  The downside is that all state would be lost (unless there was some file I/O or some sort of persistent object).

Offline

 

#4 2007-08-31 01:43:14

swarnasras
Scratcher
Registered: 2007-08-26
Posts: 3

Re: can we open and play a list of scratch files?

Thanks Andres.
I used batch files to open the files but is there anyway that I could control some functions like go to presentation mode, click green flag etc. using a script?

Offline

 

#5 2007-08-31 10:20:58

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: can we open and play a list of scratch files?

swarnasras, currently it is not possible to control the mode in which Scratch opens a file. I have passed your suggestion along.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

Board footer