Discuss Scratch

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)

add [item] to (list ::variables)
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

Last edited by medians (May 9, 2023 13:10:52)

qwerty_wasd_gone
Scratcher
1000+ posts

"Costumes" list and list blocks with dropdowns.

medians wrote:

Do you mean like this for the list?
add [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
you forgot this block
(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
medians
Scratcher
1000+ posts

"Costumes" list and list blocks with dropdowns.

qwerty_wasd_gone wrote:

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.

medians wrote:

qwerty_wasd_gone wrote:

you forgot this block
(costume [name v])
You're in 2.0 the costume name block is in 3.0 lol

Last edited by qwerty_wasd_gone (May 9, 2023 13:11:18)

medians
Scratcher
1000+ posts

"Costumes" list and list blocks with dropdowns.

qwerty_wasd_gone wrote:

medians wrote:

qwerty_wasd_gone wrote:

you forgot this block
(costume [name v])
You're in 2.0 the costume name block is in 3.0 lol
Yes I know LOL that's why I showed it

Last edited by medians (May 9, 2023 13:13:07)

LSPECTRONIZTAR
Scratcher
100+ posts

"Costumes" list and list blocks with dropdowns.

medians wrote:

qwerty_wasd_gone wrote:

medians wrote:

qwerty_wasd_gone wrote:

you forgot this block
(costume [name v])
You're in 2.0 the costume name block is in 3.0 lol
Yes I know LOL
A quick question: Do you use SCratch 2.0?
medians
Scratcher
1000+ posts

"Costumes" list and list blocks with dropdowns.

LSPECTRONIZTAR wrote:

medians wrote:

qwerty_wasd_gone wrote:

medians wrote:

qwerty_wasd_gone wrote:

you forgot this block
(costume [name v])
You're in 2.0 the costume name block is in 3.0 lol
Yes I know LOL
A quick question: Do you use SCratch 2.0?
Oh no he's figured out what my signature means
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.

medians wrote:

Do you mean like this for the list?
add [item] to (list v)

add [item] to (list ::variables)
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
what about this? Also yes for the list thing
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.

charizardbbutno wrote:

-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)

Powered by DjangoBB