Discuss Scratch

Herbin12
Scratcher
16 posts

Drop down menus in custom Scratch blocks.

I've seen a few custom blocks with drop down menus in them, and I can't quite figure out how to get them in, as the editor doesn't let you put them in.
They look like this:
define save (dropdown for list) to (dd for cloud variable)
define load (dd for variable) on (dd for list)

Hey! It's me. I am in charge of HerbinOS and love helping others! If you need any help, just go on one of my projects and comment or make a discussion about that topic.
when green flag clicked
if <[Awesome people v] contains <<Herbin12> or <<Herbin12Alt> or <Herbin12School>>> ?> then


say [SOUND THE ALARM! HERB IS AWESOME!]

else
say [SOUND THE OTHER ALARM! HERB IS SAD!]
end
MisterBasic
Scratcher
5 posts

Drop down menus in custom Scratch blocks.

In order to do this, you must download the project and edit the project.json file. I'm not sure where you need to edit it, but I have hacked blocks like this before and it does work to some degree.

Last edited by MisterBasic (March 7, 2018 04:49:40)


when this sprite clicked
set [Memes v] to [Over 9000!]
Gasimini
Scratcher
100+ posts

Drop down menus in custom Scratch blocks.

Herbin12
Scratcher
16 posts

Drop down menus in custom Scratch blocks.

Hmm. Yeah I'm just gonna stick with scratch for a while

Hey! It's me. I am in charge of HerbinOS and love helping others! If you need any help, just go on one of my projects and comment or make a discussion about that topic.
when green flag clicked
if <[Awesome people v] contains <<Herbin12> or <<Herbin12Alt> or <Herbin12School>>> ?> then


say [SOUND THE ALARM! HERB IS AWESOME!]

else
say [SOUND THE OTHER ALARM! HERB IS SAD!]
end

Powered by DjangoBB

Standard | Mobile