Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Test: new scratchblocks plugin
- davidkt
- Scratcher
1000+ posts
Test: new scratchblocks plugin
True. There are a bunch of them, like this:I think those blocks should only be valid if they're in a valid reporter block; eg:scratchmatch12345 wrote:Don't worry, I get it now. The / makes it think it's division. Just like these:/ //Soo, why is this green?
define //
*
-
+
of //this was fixed in the new one
and
or
not
join
mod
round
(/)
(*)
(+)
(-)
I could write a quick parser in Lua when I get home which should make these render properly.
when clicked
move steps
point towards
pick random to
set to
change by
length of //Now is this the list or the operator? Let's see.
current
when >
of
touching
set size to %
Remember when I looked like this? I still do.
Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
- jandrewg
- Scratcher
100+ posts
Test: new scratchblocks plugin
I click on I'm working on a new version of the scratchblocks plugin, and want to make sure that it works the same as the old one.secret test page and I get a 404 page not found error.
You can get to the new one on the secret test page, and the old one on the usual test page.
Please could you test them both, and let me know if you find any differences? I'm particularly interested in edge cases (think adding lots of spaces in weird places, or breaking scripts over lines in weird ways).
Things that are supposed to be different:Bugs I haven't fixed yet:
- “defineblock” is no longer a valid “define” block.
- I've dropped the “when «Sprite1» clicked” block.
- Ellipses now look right (“…” now aliases to “…”)
Thanks!
- “defineblock” is still valid (d'oh)
- The “// category = ” hack should hide the comment
- Define blocks stack wrong
- Comments seem to want to go to the previous block
- Can't define a block with the same name as a pre-existing block
- Single custom arguments get ringed
- Can't have stack blocks that start with an insert
- Adding a comment on the “else” makes it show up on the original “if”.
- Cap blocks before “else” render wrong.
- Inserts with a bad category get messed up
- Fix shape hack for inserts
- Fix reporter ring styling
- Custom blocks aren't automatically recognised
- List reporters aren't automatically recognised
- Can't put comments in c-mouths
- Custom args aren't automatically recognised
- Comments inside C mouths aren't aligned correctly
- Multi-line comments?
My old sig has broken
My Platforming Games: Water - a Platforming Game | Water 2 - a Platforming Game
- blob8108
- Scratcher
1000+ posts
Test: new scratchblocks plugin
secret test page and I get a 404 page not found error.Ah, the new version was released a while ago. I guess this should be closed… I click on
- Paddle2See
- Scratch Team
1000+ posts
Test: new scratchblocks plugin
Closed by request of the topic owner.
Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)
;
- Discussion Forums
- » Advanced Topics
- » Test: new scratchblocks plugin