Discuss Scratch

davidkt
Scratcher
1000+ posts

Test: new scratchblocks plugin

DigiTechs wrote:

scratchmatch12345 wrote:

scratchmatch12345 wrote:
/ //Soo, why is this green?
define /
Don't worry, I get it now. The / makes it think it's division. Just like these:
/
*
-
+
of //this was fixed in the new one
and
or
not
join
mod
round
I think those blocks should only be valid if they're in a valid reporter block; eg:
(/)
(*)
(+)
(-)

I could write a quick parser in Lua when I get home which should make these render properly.
True. There are a bunch of them, like this:
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
jandrewg
Scratcher
100+ posts

Test: new scratchblocks plugin

blob8108 wrote:

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.

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:
  • “defineblock” is no longer a valid “define” block.
  • I've dropped the “when «Sprite1» clicked” block.
  • Ellipses now look right (“…” now aliases to “…”)
Bugs I haven't fixed yet:
  • “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?
Thanks!
I click on secret test page and I get a 404 page not found error.

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

jandrewg wrote:

I click on 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…

tosh · slowly becoming a grown-up adult and very confused about it
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)



;

Powered by DjangoBB