3 years ago

Making scratch blocks is now a single liner (read article)


If you make extensions for scratch, you are probably aware of the fact that block object syntax is pretty much 90% boilerplate. It's still better that scratch's terrifying abstract block syntax tree, but the fact remains, that's a lotta text for a single block! That's why I made block maker, it's a tool that allows you to make blocks in a single line of code, it is mainly finished but it still needs some error handling for invalid syntax and edge cases, feel free to use it anyway!

Yeah, and I have to clarify that this tool does not see the difference between brackets intended for defining block/argument types and brackets intended for text, nor does it care. You can't really use them, the best-case scenario is they would be all turned into square brackets, even these curly ones: {}

If something doesn't work as intended, you can always file an issue here, and as always, stay tuned for updates!

~{]:)



0 comments

Loading...

Next up

New time blocks, old one hidden so ur projects won't break Coming soon

thanks ig

Big Update: Done

Docs: Done

We getting the PR with this one

.... ... .

I usually don't do this but for my timezone it's about to hit 2024 and I wish you guys a happy new year

banger

Me rn

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

New advanced batch blocks and debug blocks coming soon!