Discuss Scratch

RedReadyOPERA
Scratcher
100+ posts

"Create own block" dropdown list

the define block is a hat
define block thingy
but why not we make hat, cap, c type, E type blocks instead of the original stack blocks?
block ::custom hat
block {
} ::custom
block{
}{
} ::custom
block ::custom cap
that will be good
zomboss1_1
Scratcher
500+ posts

"Create own block" dropdown list

I support this idea. A way to improve it though: what do you were to list all the drop downs at once, and then have a special block that will add in the code for just once drop down, and you'd do this for every dropdown option, so you don't have a ton of seperate, disorganized blocks for a single dropdown?
4601167
Scratcher
59 posts

"Create own block" dropdown list

mine has more info on it
An0therRand0mC0der
Scratcher
1000+ posts

"Create own block" dropdown list

4601167 wrote:

mine has more info on it
That topic is closed and is a duplicate
Also it seems extremely similar to this post so it doesn't give much more information
medians
Scratcher
1000+ posts

"Create own block" dropdown list

Yeah this would be nicer than having an input and having to check if it's invalid or not.
when green flag clicked
set [page v] to [1]
medians
Scratcher
1000+ posts

"Create own block" dropdown list

medians wrote:

when green flag clicked
set [page v] to [1]
OnTheCode99
Scratcher
500+ posts

"Create own block" dropdown list

Support.
Crispydogs101
Scratcher
1000+ posts

"Create own block" dropdown list

RedReadyOPERA wrote:

the define block is a hat
define block thingy
but why not we make hat, cap, c type, E type blocks instead of the original stack blocks?
block ::custom hat
block {
} ::custom
block{
}{
} ::custom
block ::custom cap
that will be good
Awesome! Looks good!
medians
Scratcher
1000+ posts

"Create own block" dropdown list

medians wrote:

medians wrote:

when green flag clicked
set [page v] to [1]
Yeah it would be nice if there was an option in this, where you can copy over the dropdowns of other blocks.
If you don't get what I mean by this:

And the block in the custom block will do the last run dropdown (if there is none it will be blank).
Edit:
Maybe like this?
set (dropdown1 ::custom) to [0] //if dropdown1 is not a real variable, this will do nothing.

Last edited by medians (Jan. 2, 2023 22:31:09)

PkmnQ
Scratcher
1000+ posts

"Create own block" dropdown list

medians wrote:


Having the dropdown look the same in the definition and the custom block implies that you can select from the dropdown, which is kind of weird but does nothing.
medians
Scratcher
1000+ posts

"Create own block" dropdown list

PkmnQ wrote:

medians wrote:


Having the dropdown look the same in the definition and the custom block implies that you can select from the dropdown, which is kind of weird but does nothing.
Yea I realized that after. I think it should be only in the definition now. Though I think there should be an option to add dropdown options from other blocks and making your own too.

Last edited by medians (Jan. 13, 2023 01:16:22)

MyScratchedAccount
Scratcher
1000+ posts

"Create own block" dropdown list

Look:
Dropdown [hi v]
Use v to use dropdown in BBcode and the blocks
Frenzyboyz33
Scratcher
100+ posts

"Create own block" dropdown list

made an image for any-input, text, numeric, label text, boolean, dropdown/list, branch, and color input.
Frenzyboyz33
Scratcher
100+ posts

"Create own block" dropdown list

Crispydogs101 wrote:

RedReadyOPERA wrote:

the define block is a hat
define block thingy
but why not we make hat, cap, c type, E type blocks instead of the original stack blocks?
block ::custom hat
block {
} ::custom
block{
}{
} ::custom
block ::custom cap
that will be good
Awesome! Looks good!
for hat and cap, there would have to be a toggle, but they would conflict with eachother, as capped hat is useless. but branches would be an input that simply is a bit complex, requiring a new system in the define block
MyScratchedAccount
Scratcher
1000+ posts

"Create own block" dropdown list

[Dropdown v]
Frenzyboyz33
Scratcher
100+ posts

"Create own block" dropdown list

heres that
branched input can be moved, so for example, the goto random position block could be first!
multiple branches can be inserted, too.

Last edited by Frenzyboyz33 (Feb. 1, 2023 13:05:41)

Craftgenix1
Scratcher
12 posts

"Create own block" dropdown list

BigBlueBlock wrote:

Me_Tis wrote:

My suggestion is simple: that when you create your own block, along with boolean, string and number input, you were allowed to do a dropdown list like this:
define move [direcion]
if <(direction)=[up]>
point in direction (0 v)
move (10) steps
end
if <(direction)=[down]>
point in direction (180 v)
move (10) steps
end
when green flag clicked
move [down v]
I would find this very useful (though admittedly my example wasn't very useful)
Any suggestions, improvements or just support?
%d They will be added in future!
I think this is an amazing idea, and this can have a: if is (dropdown option) run: (code), and when you put a dropdown option on a custom block, the dropdown will display the dropdowns that it is hooked up to, such as variable dropdowns, lists, the if is, and more!
medians
Scratcher
1000+ posts

"Create own block" dropdown list

Yeah it should definitely be like this:


And you'll be able to get dropdowns from other blocks as well.
qwerty_wasd_gone
Scratcher
1000+ posts

"Create own block" dropdown list

Me_Tis wrote:

-cut-
define move [direcion]▾
if <(direction)=[up]> then
point in direction (0 v)
move (10) steps
end
if <(direction)=[down]> then
point in direction (180 v)
move (10) steps
end
when green flag clicked
move [down v]::custom
-cut-
fix
medians
Scratcher
1000+ posts

"Create own block" dropdown list

qwerty_wasd_gone wrote:

Me_Tis wrote:

-cut-
define move [direction::#5846b0]▾
if <(direction::#5846b0)=[up]> then
point in direction (0 v)
move (10) steps
end
if <(direction::#5846b0)=[down]> then
point in direction (180 v)
move (10) steps
end
when green flag clicked
move [down v]::custom
-cut-
fix
extra fix

Powered by DjangoBB