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

#1 2009-08-31 13:31:04

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Scratch Source Code

I've seen people mention the scratchsource or Scratch Source code. Where do you find it?


Hai.

Offline

 

#2 2009-09-01 02:24:48

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Scratch Source Code

I have no idea...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2009-09-01 09:40:20

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: Scratch Source Code

Ok, this is how. Create a costume for the scratch cat that is a 1x1 dot. set the size to the highest possible. Now switch back to the cat. See that red thing that comes up? Hit Debug, and then go to the middle section.

Type in this:

ScratchFrameMorph allInstances do: [: each | each delete ]
Preferences enableProgrammerFacilities

Highlight and press Alt+D.

Oh, and allInstances is all Instances, but without a space. So Instances is with an i, not an l.


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#4 2009-09-01 13:07:06

Fireball123_tests
Scratcher
Registered: 2009-07-01
Posts: 53

Re: Scratch Source Code

no theres an easier way I think


http://img512.imageshack.us/img512/5359/costume1.gif

Offline

 

#5 2009-09-01 14:04:14

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Scratch Source Code

Jonathanpb wrote:

I have no idea...

Then, WHY DID YOU POST?!

Here is a link to the Scratch Source Code:

http://info.scratch.mit.edu/Source_Code


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#6 2009-09-01 18:26:22

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch Source Code

Thx!


Hai.

Offline

 

#7 2009-09-01 18:29:19

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch Source Code

TimeFreeze wrote:

Ok, this is how. Create a costume for the scratch cat that is a 1x1 dot. set the size to the highest possible. Now switch back to the cat. See that red thing that comes up? Hit Debug, and then go to the middle section.

Type in this:

ScratchFrameMorph allInstances do: [: each | each delete ]
Preferences enableProgrammerFacilities

Highlight and press Alt+D.

Oh, and allInstances is all Instances, but without a space. So Instances is with an i, not an l.

so does the new window that pop up mean the source code?


Hai.

Offline

 

Board footer