Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Some of these changes really should have been added ages ago..
This is a backward compatible Scratch mod that adds a couple of features to make your life easier.
There's a new preferences menu – this contains a few little options that should help out when making things with Scratch:
And that's it, for now, but I think it should be handy.
You can get the source here, or get a pre-built SWF here.
This is a backward compatible Scratch mod that adds a couple of features to make your life easier.
There's a new preferences menu – this contains a few little options that should help out when making things with Scratch:
- Drop anywhere (default off) - allows you to drop blocks into any menu or input.
- Sort palettes (default on) - automatically sorts custom palettes and menus (variables, lists, custom blocks) alphabetically.
And that's it, for now, but I think it should be handy.
You can get the source here, or get a pre-built SWF here.
Last edited by liam48D (May 11, 2016 12:04:51)
202e-202e-202e-202e-202e UNI-CODE~~~~~
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Argh, the latest build of Scratch doesn't let me import my project..
Not sure if that's just my project? I can upload it online though.
Not sure if that's just my project? I can upload it online though.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- DigiTechs3
- New to Scratch
51 posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Could you set-up a gh-pages branch and host the swf file there? I don't have a local web server on a school machine
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Okay Could you set-up a gh-pages branch and host the swf file there? I don't have a local web server on a school machine
EDIT: first, I think it only works offline (e.g. https://rawgit.com/liam4/scratch-flash/gh-pages/Scratch.swf?raw=true) and also gh-pages won't work for me (http://liam4.github.io/scratch-flash/Scratch.swf gives 404).
I've been testing with file:// and it works though
Last edited by liam48D (May 11, 2016 12:50:49)
202e-202e-202e-202e-202e UNI-CODE~~~~~
- BookOwl
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
What will you call this?
who needs signatures
- BookOwl
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Doesn't work for me.
who needs signatures
- DigiTechs3
- New to Scratch
51 posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Doesn't work for me.
Yeah, after getting into the editor I couldn't get the ‘drop anywhere’ or ‘sort palettes’ options to work:
var emb = document.createElement('embed'); emb.width="100%";emb.src="http://liam4.github.io/scratch-flash/Scratch.swf?extensionDevMode=true";emb.height="100%";emb.name="plugin";emb.type="application/x-shockwave-flash";document.body.appendChild(emb);
- BookOwl
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
I couldn't even get it to load.Doesn't work for me.
Yeah, after getting into the editor I couldn't get the ‘drop anywhere’ or ‘sort palettes’ options to work:var emb = document.createElement('embed'); emb.width="100%";emb.src="http://liam4.github.io/scratch-flash/Scratch.swf?extensionDevMode=true";emb.height="100%";emb.name="plugin";emb.type="application/x-shockwave-flash";document.body.appendChild(emb);
who needs signatures
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Hmm.. it works for me. After you download and open Scratch.swf in your web browser, what do you get?
The preferences menu is right beside the file and edit menus:
The preferences menu is right beside the file and edit menus:
The mod that makes your life a little bit easier? What will you call this?
202e-202e-202e-202e-202e UNI-CODE~~~~~
- -Io-
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Yeah lol I worked on that for a bit (that was the original motive) but stack blocks -> inputs are not only really glitchy but also hard to code Aww, I expected it to be able to get stack blocks into inputs too
But still, I love this
Thanks!
202e-202e-202e-202e-202e UNI-CODE~~~~~
- NickyNouse
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
How about just “The Mod”? Hmm.. it works for me. After you download and open Scratch.swf in your web browser, what do you get?
The preferences menu is right beside the file and edit menus:The mod that makes your life a little bit easier? What will you call this?
Also, you could add numerical sorting as well (although it'd be completely useless) and maybe somehow by timestamp? I'd often like to use the block I most recently created
Last edited by NickyNouse (May 11, 2016 17:35:24)
- BookOwl
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
I get a plain white screen, and when I right click I get a context menu that says “Movie not loaded” and “About Flash 10.3”
My browser / operating system: Ubuntu Linux (really puppy 5.7.1), Firefox 46.0, Flash 10.3 (release 183)
My browser / operating system: Ubuntu Linux (really puppy 5.7.1), Firefox 46.0, Flash 10.3 (release 183)
who needs signatures
- liam48D
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Argh, not sure.. I get a plain white screen, and when I right click I get a context menu that says “Movie not loaded” and “About Flash 10.3”
My browser / operating system: Ubuntu Linux (really puppy 5.7.1), Firefox 46.0, Flash 10.3 (release 183)
My browser / operating system: MacOS Macintosh X 10.11, Firefox 49.0, Flash 21.0 (release 0)
Does it work in any other browsers?
For two reasons, no. Also, you could add numerical sorting as well (although it'd be completely useless)
- It's completely useless
- It's already actually sorted alphanumerically (or is it by character? not sure how JS's less than operator works ) so it's already sorted numerically, pretty much:
While yes, I'd love this, unfortunately timestamps aren't saved with the project.. and maybe somehow by timestamp? I'd often like to use the block I most recently created
So custom blocks won't really work with this (if you uncheck sort automatically, the most recently moved or created custom block will appear at the bottom of the list), but variables and lists should work like you explained if you uncheck sorting.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- blob8108
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
What you really want is *natural* sorting, which is what most file browsers use. ie name.split(/(+)/) to split it into “words” (some numbers and some not), and then sort numerically based on those arrays…
- BookOwl
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
I tried it in Seamonkey, but I got the same result. I'll try updating Flash and seeing if that helps.Argh, not sure.. I get a plain white screen, and when I right click I get a context menu that says “Movie not loaded” and “About Flash 10.3”
My browser / operating system: Ubuntu Linux (really puppy 5.7.1), Firefox 46.0, Flash 10.3 (release 183)
My browser / operating system: MacOS Macintosh X 10.11, Firefox 49.0, Flash 21.0 (release 0)
Does it work in any other browsers?
EDIT: Apparently, Flash can't be updated on linux
Last edited by BookOwl (May 11, 2016 18:19:48)
who needs signatures
- scratchyone
- Scratcher
100+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Dang! I was just about to make a mod to drop blocks anywhere
I can't wait to try this out, though.
Suggestion:
If you can't get stack blocks to be dropped into other inputs, maybe add an “insert stack block here” feature, if possible. Then have it just modify the json instead of handling dropping
Also, https://scratchyone.github.io/stuffs/liam4modloader.html
I can't wait to try this out, though.
Suggestion:
If you can't get stack blocks to be dropped into other inputs, maybe add an “insert stack block here” feature, if possible. Then have it just modify the json instead of handling dropping
Also, https://scratchyone.github.io/stuffs/liam4modloader.html
Last edited by scratchyone (May 11, 2016 20:53:37)
- Dylan5797
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Aww, I expected it to be able to get stack blocks into inputs too
But still, I love this
- DrKat123
- Scratcher
1000+ posts
I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)
Cool!
Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun
λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
- Discussion Forums
- » Advanced Topics
- » I modded Scratch to make it SO MUCH EASIER to use (alphabetical palette sort, drop blocks anywhere)