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

#1 2008-09-27 00:49:15

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

scratch executable converter idea

if you don't what an executable is it's a file that can run on its own without any other things to help it work, usually an executable runs off of a program that comes standard to windows or macs, which would be command prompt or for macs terminal, basically my idea is to make an option in scratch to "make executable", discrscratch (or whatever) kinda does this, but its different, in this technique all the code you've put in scratch will be converted into a different file type and programming language, if this runs like a true executable you should be able to use over 5000 sprites all running at the same time! this would put scratch to a far higher level of use. and yes this will be hard to code for the scratch team, but it would be great!  big_smile


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

#2 2008-09-27 01:18:41

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: scratch executable converter idea

Why don't you just use the discscratch program? It converts scratch files to exe files. If the scratch team makes a converter it should work about the same as ones already created. I don't think anyone can create a converter that converts scratch programs into programs made with c++ or some other more efficient language.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2008-09-27 12:39:00

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

Re: scratch executable converter idea

archmage wrote:

Why don't you just use the discscratch program? It converts scratch files to exe files. If the scratch team makes a converter it should work about the same as ones already created. I don't think anyone can create a converter that converts scratch programs into programs made with c++ or some other more efficient language.

but does that increase the running speed? discscratch I thought only allowed you to just run the executable for scratch


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

#4 2008-09-27 13:01:43

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: scratch executable converter idea

dingdong wrote:

archmage wrote:

Why don't you just use the discscratch program? It converts scratch files to exe files. If the scratch team makes a converter it should work about the same as ones already created. I don't think anyone can create a converter that converts scratch programs into programs made with c++ or some other more efficient language.

but does that increase the running speed? discscratch I thought only allowed you to just run the executable for scratch

There is no way to increase the running speed by simply converting it to exe. You can't just change the scratch project's language, you have to make an interpreter.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#5 2008-09-27 13:29:27

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: scratch executable converter idea

Jens seems to be about ready to release a new mod for Scratch, with a built in function writing/block making ability that will run certain blocks at Squeak's runtime speed, much faster than Scratch's 30-odd iterations/second. The teaser is avalaible here.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#6 2008-09-27 16:34:12

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: scratch executable converter idea

In my opinion, faster code execution won't make a as  much difference as Dingdong says. The biggest limitation with scratch is it's lack of commands (although increased speed would make a big difference). I think that the ability to reuse graphics on sprites, functions that accept parameters, and sprite duplication and a few other things would put scratch to a "higher level of use" as Dingdong puts it.

Last edited by archmage (2008-09-27 16:34:51)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

Board footer