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

#1 2011-01-09 15:00:17

2dfun
New Scratcher
Registered: 2011-01-09
Posts: 5

How to show a project without the code?

Hello all.

I am a highschool teacher of computer science. I am about to assign a Scratch project to my students. I would like to show them how the project will be like when it is complete. My options so far are:

1) Show the completed project with the projector in the computer lab.
Pros: Easy
Cons: I can only do it in the lab and only limited times.

2) Convert the completed project to .exe and distribute it to the students.
Pros: They can view it as many times they want at home.
Cons: Not all students have ms windows nor the same version of ms windows.

3) Upload the project to a Scratch gallerie: not an option since the source will be available.

Is there another way i can distribute a scratch project but without showing the source code?

Sorry if i am asking something already known and thank you in advance.

Offline

 

#2 2011-01-09 15:05:59

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: How to show a project without the code?

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

Last edited by meowmeow55 (2011-01-09 15:07:32)


Yawn.

Offline

 

#3 2011-01-09 15:08:16

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: How to show a project without the code?

#2, I guess.

If you download BYOB, you can convert to EXE or APP. I tried it and it works. And as for having different versions of Windows, I don't think that matters...

Offline

 

#4 2011-01-09 15:30:38

2dfun
New Scratcher
Registered: 2011-01-09
Posts: 5

Re: How to show a project without the code?

meowmeow55 wrote:

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

I didn't know about Scratchbin. Hmm... The thing is that i don't own a Mac so i won't be able to compile an executable for the corresponding students.  sad

As far as the different versions of Windows, i thought that maybe i would have to compile different executables for different versions of Windows (XP/Vista-7). Anyhow, it doesn't matter because the .exe approach isn't very good since some students have Mac or Linux...

Offline

 

#5 2011-01-09 16:55:11

pika100chu
Scratcher
Registered: 2009-07-26
Posts: 500+

Re: How to show a project without the code?

2dfun wrote:

meowmeow55 wrote:

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

I didn't know about Scratchbin. Hmm... The thing is that i don't own a Mac so i won't be able to compile an executable for the corresponding students.  sad

As far as the different versions of Windows, i thought that maybe i would have to compile different executables for different versions of Windows (XP/Vista-7). Anyhow, it doesn't matter because the .exe approach isn't very good since some students have Mac or Linux...

I'm pretty sure all windows .exes work on all windows.

Offline

 

#6 2011-01-18 06:01:56

2dfun
New Scratcher
Registered: 2011-01-09
Posts: 5

Re: How to show a project without the code?

Thank you all for replying. It seems to me that option number 1 is the best.

Offline

 

#7 2011-01-18 06:25:26

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: How to show a project without the code?

Here's a little trick. I don't know how smart your students are but this stopes them from opening it in Scratch directly.

Find the file and give it a random extension.  .sb --> .cd

Then copy the project to a file then download and add the following to the file.
1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm


Open notepad and type the following. Change what's in red to the new file name. ScratchProject.cd

<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="testproject.sb">
</applet>
</body>
</html>

Save as .html


You should have the following.
ScratchProject.cd
ScratchApplet.jar
soundbank.gm
.html

All students that have java can then view the project in a web browser. (The only way they can view the source is too change it back to sb but that involves changing the computers settings.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#8 2011-01-18 07:07:29

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: How to show a project without the code?

meowmeow55 wrote:

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

No. Macs don't use EXE's, they use ".app" files instead.

Last edited by henley (2011-01-18 07:09:29)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#9 2011-02-04 09:24:38

2dfun
New Scratcher
Registered: 2011-01-09
Posts: 5

Re: How to show a project without the code?

what-the wrote:

Here's a little trick. I don't know how smart your students are but this stopes them from opening it in Scratch directly.

Find the file and give it a random extension.  .sb --> .cd

Then copy the project to a file then download and add the following to the file.
1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm


Open notepad and type the following. Change what's in red to the new file name. ScratchProject.cd

<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="testproject.sb">
</applet>
</body>
</html>

Save as .html


You should have the following.
ScratchProject.cd
ScratchApplet.jar
soundbank.gm
.html

All students that have java can then view the project in a web browser. (The only way they can view the source is too change it back to sb but that involves changing the computers settings.

IMPRESSIVE!! I'll give it a try. Thanks!

Offline

 

#10 2011-02-04 09:57:29

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: How to show a project without the code?

kayybee wrote:

#2, I guess.

If you download BYOB, you can convert to EXE or APP. I tried it and it works. And as for having different versions of Windows, I don't think that matters...

Offline

 

#11 2011-02-05 10:09:41

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: How to show a project without the code?

henley wrote:

meowmeow55 wrote:

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

No. Macs don't use EXE's, they use ".app" files instead.

Um, did I say Macs used EXEs? Scratchbin creates some sort of self-extracting archive (I don't know what because I couldn't get it to work with Cygwin).


Yawn.

Offline

 

#12 2011-02-05 23:13:47

08jackt
Scratcher
Registered: 2007-09-12
Posts: 1000+

Re: How to show a project without the code?

yeah go for an .exe
the reason why scratch doesn't allow disable the downloading and/or viewing source code is because they want people to be able to learn from projects.


http://i39.tinypic.com/jgtswi.png

Offline

 

#13 2011-02-05 23:20:07

peterkap
Scratcher
Registered: 2009-01-24
Posts: 1000+

Re: How to show a project without the code?

This is a problem that u should ask ST

Offline

 

#14 2011-02-06 01:32:45

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: How to show a project without the code?

No, all you need is byob.

What's the need for ST with a simple problem like this?

BYOB converts projects to EXE and APP files. Just telling you because both my above posts were ignored.

Offline

 

#15 2011-02-08 12:07:30

2dfun
New Scratcher
Registered: 2011-01-09
Posts: 5

Re: How to show a project without the code?

kayybee wrote:

No, all you need is byob.

What's the need for ST with a simple problem like this?

BYOB converts projects to EXE and APP files. Just telling you because both my above posts were ignored.

I have always used the official Scratch version but this feature is very interesting to ignore. I will download and test BYOB ASAP.

Offline

 

#16 2011-02-20 20:08:42

paulpsicle
Scratcher
Registered: 2008-10-12
Posts: 100+

Re: How to show a project without the code?

meowmeow55 wrote:

henley wrote:

meowmeow55 wrote:

Along with converting the project to an EXE, you could also convert the project with Scratchbin, which supports Linux and Mac OS X. I haven't tried it, though.

Also, I don't see how students having different versions of Windows would get in the way of them running EXEs...

No. Macs don't use EXE's, they use ".app" files instead.

Um, did I say Macs used EXEs? Scratchbin creates some sort of self-extracting archive (I don't know what because I couldn't get it to work with Cygwin).

It's a tar.bz2 archive. With three command line flags, you can extract it to a directory, so it is not very secure.


http://blocks.scratchr.org/API.php?user=paulpsicle&amp;action=onlineStatus&amp;online=http://fishery.dyndns.org/paulpsicle.png&amp;offline=http://fishery.dyndns.org/paulpsicle_o.png

Offline

 

Board footer