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


if (null) {
document.write("Hello")
} else {
document.write("Bye!")
}
define its Just a dream.. ::#f29900
wake up ::looks
scream (10) times ::control
see everything around ::looks
say (Chill Dude, Its Just A Dream v) // everything u want to say in box
get off bed ::motion
eat some food ::sensing


if <[null v] ::operators> then{
say[Hello]
} else {
say [Bye!]
} ::operators
(u_u @greenFlag ::control) // i miss you...
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?


I like planes. And boats. And the military. Specifically, 1939-1945, when world war two was happening. Mostly the Pacific theater, though I'm trying to learn a lot about the others!
4601167
Scratcher
59 posts

"Create own block" dropdown list

mine has more info on it

so {this :: sensing} [signature v] :: hat control
is (made) <out [of] :: operators> :: looks
(s :: looks)[c]<r :: motion>(a v)[t v]c[h] (<b :: custom> l <o :: sound> :: #BFD276) < c :: cap list>[ks v] :: pen
< and :: operators> i ([t]<h :: #000000>(i ::events)[n v](k v) :: #BBDD00) [thats v] :: variables
cool :: cap sound

((h:: #FFFFFF)(h :: #FFFFFF) :: #000000)
VR^gogles
(:] :: #000000)
this is carl and he thinks custom scratchblocks are cool… in fact he has made some of his own
stop sound [pop v] :: sound
stop[all v] if <> :: control
point towards x:() y:() :: motion
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 bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
medians
Scratcher
1000+ posts

"Create own block" dropdown list

medians wrote:

when green flag clicked
set [page v] to [1]

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
OnTheCode99
Scratcher
500+ posts

"Create own block" dropdown list

Support.

(foo)
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!

Hey! Look at this DTA!
Hej! My username is @Crispydogs101. I like listening to music, playing games, and more!
Sarah and duck, Pete the cat, Pegboard nerds, Tokyo machine, FORZA FAN!! Be High contrast Blue Be rich
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)


Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
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.

This is an account that exists.

Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary

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)


Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
MyScratchedAccount
Scratcher
1000+ posts

"Create own block" dropdown list

Look:
Dropdown [hi v]
Use v to use dropdown in BBcode and the blocks

Links:

Give An Internet - - My Profile - My Best Project Of The Week - Am I Online? - on wiki, go to my talk

Scratched//Boy/Him/He////Likes Apples//Coder //
—-
Go to Codin[co
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]

Links:

Give An Internet - - My Profile - My Best Project Of The Week - Am I Online? - on wiki, go to my talk

Scratched//Boy/Him/He////Likes Apples//Coder //
—-
Go to Codin[co
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.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
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

shift+ctrl+down arrow to scroll
I may sometimes make mistakes, change my mind, etc., and edit my posts
When (::red) clicked :: events hat
repeat until <key [all v] pressed?>{
destroy this sprite::control cap
when @greenFlag misclicked::events hat
become idiot::custom}::control
(╯°□° ╯︵ ┻━┻::red)::#000000 reporter//this is brad, he creates cursed scripts like the one you saw above
(ㆆ_ㆆ)//this is max, he stares at you with that expression if you say you don't support my suggestion


You found me
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

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;

Powered by DjangoBB