Discuss Scratch

Dragonmyflesh
Scratcher
500+ posts

How do I get Horizontal Blocks

Is there a plugin/addon or modification that achieves the design and looks of the Horizontal Blocks like in Scratch Jr?
yadayadayadagoodbye
Scratcher
1000+ posts

How do I get Horizontal Blocks

Its not allowed to name extensions and anything similar, so even if there is, we aren't really allowed to tell you
donotforgetmycode
Scratcher
1000+ posts

How do I get Horizontal Blocks

yadayadayadagoodbye wrote:

Its not allowed to name extensions and anything similar, so even if there is, we aren't really allowed to tell you
You're not allowed to name browser extensions, but you are allowed to name mods, like Turbowarp for example.
BigNate469
Scratcher
1000+ posts

How do I get Horizontal Blocks

It would require significant additions to the horizontal blocks (they currently only hold the blocks from ScratchJr), but they are present in the scratch-blocks repo on GitHub. Modifying them would work, since they are essentially images that represent functions- no modification to scratch-vm needed.
Dragonmyflesh
Scratcher
500+ posts

How do I get Horizontal Blocks

BigNate469 wrote:

It would require significant additions to the horizontal blocks (they currently only hold the blocks from ScratchJr), but they are present in the scratch-blocks repo on GitHub. Modifying them would work, since they are essentially images that represent functions- no modification to scratch-vm needed.

I did figure out how to do that, but I'm not very familiar with GitHub so it's kind of confusing what I'm supposed to do.
Dragonmyflesh
Scratcher
500+ posts

How do I get Horizontal Blocks

yadayadayadagoodbye wrote:

Its not allowed to name extensions and anything similar, so even if there is, we aren't really allowed to tell you

I knew that already, I just added it because I wanted to.
RethinkingVoxels
Scratcher
1000+ posts

How do I get Horizontal Blocks

Two things:
1. You have to do this in Scratch App. Unless you want to manually edit every block every time you run the website editor, it's only possible on the app.
2. You'd have to find a way to decompile EVERYTHING. That includes all .json files, all scripts, and all the block images. Plus, you'd have to find a way to manipulate the text to not show. The text renders differently than the blocks themselves.
Edit: I'm not a professional CS programmer. Take this with a grain of salt. My only backstory in real coding is Lua and looking through game files.

Last edited by RethinkingVoxels (July 23, 2024 15:24:18)

BigNate469
Scratcher
1000+ posts

How do I get Horizontal Blocks

RethinkingVoxels wrote:

Two things:
1. You have to do this in Scratch App. Unless you want to manually edit every block every time you run the website editor, it's only possible on the app.
2. You'd have to find a way to decompile EVERYTHING. That includes all .json files, all scripts, and all the block images. Plus, you'd have to find a way to manipulate the text to not show. The text renders differently than the blocks themselves.
Edit: I'm not a professional CS programmer. Take this with a grain of salt. My only backstory in real coding is Lua and looking through game files.
You might want to check out the Guide to Modding Scratch 3.0- it's not as hard as you say. You can create a Scratch mod in about an hour if you're starting from scratch (no pun intended), and most of that time is waiting around for npm (or whatever package manager you're using) to finish running.

You can also learn some valuable stuff about the structure of the editor, like, for example, it all runs on web tech, even the offline editor. Which means that the online editor and offline editor actually function the same way, and therefore it's relatively easy to host it (as a website) from your device, or from somewhere like GitHub Pages.

Last edited by BigNate469 (July 23, 2024 15:40:53)

Powered by DjangoBB