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

#1 2010-07-26 01:18:14

MabonBaladevaKain
Scratcher
Registered: 2010-07-25
Posts: 80

Scratch Project Code Question

Is there actual JAVA code created when you make a project with Scratch's blocks
and if so, how do I access the JAVA code created by my project?

... or does that only occur when the project is uploaded?
Is there a way to access the JAVA code created by the specific project after it
has been uploaded?

Or does JAVA code never actually get created by the Scratch projects and some other method is used? Some sort of script? ... if so, how do I access that?

Offline

 

#2 2013-01-20 21:30:23

OrcaCat
Scratcher
Registered: 2010-06-30
Posts: 500+

Re: Scratch Project Code Question

The Scratch code is written in Squeak. It translates blocks to Squeak. When you upload, it is translated to Java (I think). This is a really old post, I hope you're still on.


     Awesome music     Electrode's theme     Epic music
Bye, 1.x.  sad                             Hello, 2.x!  smile

Offline

 

#3 2013-01-21 11:16:56

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Scratch Project Code Question

The blocks aren't ever converted to anything. Basically Scratch (the program) and the Java Player read the saved file (with the blocks in it) and plays those blocks.

No "translating" is ever done except when the Scratch project is saved and loaded.  smile

Edit: Also, yes, this is probably a topic that is way too old for the original poster to be on anymore.

Last edited by Magnie (2013-01-21 11:18:06)

Offline

 

Board footer