Discuss Scratch

LEGOengineer261
Scratcher
18 posts

Scratch Compiler or some way to make an offline project run very fast

It would be incredibly useful if there was some sort of option in the scratch 2 downloadable version where you could ‘Compile and run’, or something like that. Then it would open up a 480x360 window (maybe you could add an option to maximize into the ‘fullscreen’ mode)of the project once it is done compiling. Even if it is not possible to transfer the actual code to a different language or something faster, I bet there are ways to speed it up. For example, scratch is obviously still focusing on the edit part of the program, which most likely slows down the whole process. Anyways, I think this would be amazing if it could be done, it isn't exactly urgent, once scratch 2.0 is finished maybe this could be worked on



EDIT: I made a new topic here, I was told that there were low chances the ST would do that, but that someone with a scratch mod might do it
So, if you already have a scratch mod (Its highly preferable its a scratch 2 mod) or think someone might be able to add it to their scratch mod, that would be awesome!
Magnie
Scratcher
100+ posts

Scratch Compiler or some way to make an offline project run very fast

Truly compiling a Scratch Project is kind of difficult and would be difficult to create a compiler for it. The fastest a Scratch Project can run is as fast as Turbo Mode runs.

However I have heard some discussion (don't remember where) that they might be adding a feature to export to a flash project which is probably as close as you will get to compiling it.
LEGOengineer261
Scratcher
18 posts

Scratch Compiler or some way to make an offline project run very fast

Magnie wrote:

However I have heard some discussion (don't remember where) that they might be adding a feature to export to a flash project which is probably as close as you will get to compiling it.
Cool! That would be sweet if that ever worked out
typemaster
Scratcher
100+ posts

Scratch Compiler or some way to make an offline project run very fast

You would have to make tons of sprites and backgrounds. Example for my profile button:
when this sprite clicked
switch backdrop to [ my profile]

Example for the my stuios view all button:
when this sprite clicked
switch backdrop to [ all of my studios]

Example for putting multiple projects together:

add [pixel craft1.0] to [list of all projects]
add [pixel craft2.0] to [list of all projects]
add [pixel craft3.0] to [list of all projects]

Last edited by typemaster (March 2, 2014 23:30:04)

procd
Scratcher
100+ posts

Scratch Compiler or some way to make an offline project run very fast

Necropost! Anyway it's done!

As for speed then a compiled project will run the same but typically without lag and less overhead on the cpu. Put a compiled project in Turbo mode then it is mostly quicker. The only area it is slower is the touching color blocks.
CatsUnited
Scratcher
1000+ posts

Scratch Compiler or some way to make an offline project run very fast

Post removed

Last edited by CatsUnited (May 2, 2015 13:38:30)

Powered by DjangoBB