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

#1 2010-07-16 10:06:14

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

My compiler

Some of you may know, I have been working on a fake compiler for scratch projects that can make exes and apps. It is almost done but still in complete alpha testing. (Not public.) I still need someone to tell me where the method 'quitScratch' in  the source code is because I cannot find it. This compiler may never be published if I can't find it! Here is an example of a project I have compiled, it is one of my friends games.

Turkey Game.zip

once the folder is extracted you will find another folder and inside of that is a shortcut. Open that shortcut to get the game. When my compiler is done, a folder will have to short cuts, one for app and one for exe. I also still need someone to post a link to the scratch.app file. Thank you.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#2 2010-07-17 01:33:59

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: My compiler

Smalltalk snapshot: false andQuit: true.

Offline

 

#3 2010-07-17 08:46:58

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: My compiler

songhead95 wrote:

Smalltalk snapshot: false andQuit: true.

Code:

false andQuit: true.

is this the quit scratch method?


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#4 2010-07-17 09:13:44

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: My compiler

What Songhead95 wrote is the last line of the quitScratch method.
The quitScratch method is at:
Scratch-UI-Panes > ScratchFrameMorph > -- all -- > quitScratch
Hope it helps!

Offline

 

#5 2010-07-17 14:14:53

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: My compiler

yes, but this method immediately exits the vm

Offline

 

#6 2010-07-18 17:04:46

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Offline

 

#7 2010-07-18 23:56:11

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: My compiler

A tip: ALWAYS edit the .plist file on the mac version of the .app to not know any document types. otherwise if you try to open up a .sb file, or a .image file, you will end up opening it with a compiled .app

Offline

 

Board footer