Discuss Scratch

BosenChang
Scratcher
1000+ posts

Blocks in custom blocks

So far, blocks in custom blocks don't exist, do they? Well, this suggestion is about suggesting it!
[scratchblocks]
custom block <:: stack :: #a33aa3>::custom
[/scratchblocks]
custom block <:: stack :: #a33aa3>::custom

custom block (ask [] and wait::stack)::custom
define custom block (this block :: stack :: #a33aa3)
repeat (10)
this block :: stack :: #a33aa3
end
scratchastroLOL
Scratcher
1000+ posts

Blocks in custom blocks

so basically custom c blocks?
BosenChang
Scratcher
1000+ posts

Blocks in custom blocks

scratchastroLOL wrote:

so basically custom c blocks?
No, that is just a example. The custom block with a draggable block is the suggestion. If you read the title, you should have known what I was writing about.
BosenChang
Scratcher
1000+ posts

Blocks in custom blocks

What a big
Bump
Up
My
Post!
-Rex-
Scratcher
500+ posts

Blocks in custom blocks

I doubt Scratch will add first-class functions or anything that somewhat resembles them. Also, notice how the ask and wait block has an input? How would this feature handle blocks having a variable number of inputs and how would the code know the number of inputs?

Powered by DjangoBB