Discuss Scratch

joefarebrother
Scratcher
500+ posts

Make a block: c blocks

When you use the make a block button, the options for the inputs are number, text, and Boolean. However, I think that among them there should be an option to add a c-input. On the define hat block there would be a stack block that you could drag out (just like the Boolean and reporter blocks that can be dragged out) and when it is encountered in a script, it will run whatever blocks are in the c-mouth. You could make blocks like
(50)% chance of doing {

}
do{

} with the pen down

initialize a clone with{

}

You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

}


Last edited by Paddle2See (Aug. 25, 2023 14:59:43)

jvvg
Scratcher
1000+ posts

Make a block: c blocks

While I think this is a really cool idea, it would involve a major restructuring of the language, and would make it extremely complicated.
agmmes
Scratcher
100+ posts

Make a block: c blocks

joefarebrother wrote:

When you use the make a block button, the options for the inputs are number, text, and Boolean. However, I think that among them there should be an option to add a c-input. On the define hat block there would be a stack block that you could drag out (just like the Boolean and reporter blocks that can be dragged out) and when it is encountered in a script, it will run whatever blocks are in the c-mouth. You could make blocks like
(50)% chance of doing {

}
do{

} with the pen down

initialize a clone with{

}

You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

}


Supporters: 1

joefarebrother
(50)% chance of doing {

}
do{

} with the pen down

initialize a clone with{

}

You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

}
alexphan
Scratcher
1000+ posts

Make a block: c blocks

agmmes wrote:

joefarebrother wrote:

When you use the make a block button, the options for the inputs are number, text, and Boolean. However, I think that among them there should be an option to add a c-input. On the define hat block there would be a stack block that you could drag out (just like the Boolean and reporter blocks that can be dragged out) and when it is encountered in a script, it will run whatever blocks are in the c-mouth. You could make blocks like
(50)% chance of doing {

}
do{

} with the pen down

initialize a clone with{

}

You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

}


Supporters: 1

joefarebrother
(50)% chance of doing {

}
do{

} with the pen down

initialize a clone with{

}

You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

}
Please don't necropost.
MegaApuTurkUltra
Scratcher
1000+ posts

Make a block: c blocks

Well, custom reporters are coming to Scratch 3 (hopefully). Maybe this can too

(incidentally, my top secret Scratch-3-style script editor has this )

Last edited by MegaApuTurkUltra (Sept. 9, 2016 19:57:14)

AnAccount_StopAsking
Scratcher
500+ posts

Make a block: c blocks

Jaden0912 wrote:

define help
end

Please don't spam.
ThatCoder77471
Scratcher
1000+ posts

Make a block: c blocks

(50)% chance of doing {

} ::control
do{

} with the pen down ::pen

initialize a clone with{

} ::control

//You could also have more than one c-mouths on a single block, so you could make stuff like
forever if <>{

}else{

} ::control
fixed blocks

Powered by DjangoBB