Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Costumes" list and list blocks with dropdowns.
- charizardbbutno
-
Scratcher
18 posts
"Costumes" list and list blocks with dropdowns.
If only we had these, they would be so useful! the costume input can be a list for its respective sprite(like variables for“this sprite only”)that contains all the costumes for that sprite, and the insertable dropdown lists would be useful for something but I don't know how I can use them.
add (item (idx) of (costumes :: looks) :: list) to (list v)
Last edited by charizardbbutno (May 9, 2023 13:07:58)
- qwerty_wasd_gone
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
what would this be used for?
- medians
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
Do you mean like this for the list?
add [item] to (list v)Also, for the costume thing, you can do this (untested)
add [item] to (list ::variables)
when gf clicked
delete (all v) of [costumes v]
switch costume to ((1) + (0))
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
repeat until <(costume #) = [1]>
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
end
Last edited by medians (May 9, 2023 13:10:52)
- qwerty_wasd_gone
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
Do you mean like this for the list?you forgot this blockadd [item] to (list)Also, for the costume thing, you can do this (untested)when gf clicked
delete (all v) of [costumes v]
switch costume to ((1) + (0))
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
repeat until <(costume #) = [1]>
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
end
(costume [name v]::looks)exists
Last edited by qwerty_wasd_gone (May 9, 2023 13:10:34)
- charizardbbutno
-
Scratcher
18 posts
"Costumes" list and list blocks with dropdowns.
yes like that!
thanks
thanks
- medians
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
you forgot this block(costume [name v])

Last edited by medians (May 9, 2023 13:10:23)
- qwerty_wasd_gone
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
You're in 2.0 the costume name block is in 3.0 lolyou forgot this block(costume [name v])
Last edited by qwerty_wasd_gone (May 9, 2023 13:11:18)
- medians
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
Yes I know LOL that's why I showed itYou're in 2.0 the costume name block is in 3.0 lolyou forgot this block(costume [name v])
Last edited by medians (May 9, 2023 13:13:07)
- LSPECTRONIZTAR
-
Scratcher
100+ posts
"Costumes" list and list blocks with dropdowns.
A quick question: Do you use SCratch 2.0?Yes I know LOLYou're in 2.0 the costume name block is in 3.0 lolyou forgot this block(costume [name v])
- medians
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
Oh no he's figured out what my signature meansA quick question: Do you use SCratch 2.0?Yes I know LOLYou're in 2.0 the costume name block is in 3.0 lolyou forgot this block(costume [name v])
also yes and I am too used to no costume name block and only having the backdrop # in the stage and I only realized when he mentioned the block
Last edited by medians (May 9, 2023 13:25:58)
- charizardbbutno
-
Scratcher
18 posts
"Costumes" list and list blocks with dropdowns.
Do you mean like this for the list?what about this? Also yes for the list thingadd [item] to (list v)Also, for the costume thing, you can do this (untested)
add [item] to (list ::variables)when gf clicked
delete (all v) of [costumes v]
switch costume to ((1) + (0))
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
repeat until <(costume #) = [1]>
add ([costume name v] of (join [sel] [f])) to [costumes v]
next costume
end
when green flag clicked
switch costume to (costume1 v)
repeat [number of costumes]
add (costume name :: looks) to [list v]
next costume
end
Last edited by charizardbbutno (May 9, 2023 13:17:57)
- charizardbbutno
-
Scratcher
18 posts
"Costumes" list and list blocks with dropdowns.
sorry can you tell me how to delete im kinda new to forums
Last edited by charizardbbutno (May 9, 2023 13:54:02)
- qwerty_wasd_gone
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
-blockspam-please don't blockspam
- unmissable
-
Scratcher
1000+ posts
"Costumes" list and list blocks with dropdowns.
never mind
Last edited by unmissable (May 9, 2023 16:25:56)
- Discussion Forums
- » Suggestions
-
» "Costumes" list and list blocks with dropdowns.