Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Costume Changing Problems
- olahamigosandpi
-
Scratcher
5 posts
Costume Changing Problems
I've got a simple script that says:
So, when I set screen value to a different number the costume should change but it dosen't.
when green flag clicked
forever
switch costume to (Screen Value)
end
So, when I set screen value to a different number the costume should change but it dosen't.
- CoolLionMan
-
Scratcher
1000+ posts
Costume Changing Problems
did you click the flag? how many costume are there? it'll help if you send the link (it doesn't have to be shared)
- olahamigosandpi
-
Scratcher
5 posts
Costume Changing Problems
I click the flag like 4 times, the sprite that I want to change costumes has 3 costumes, and there is a total of 34 costumes and 2 backdrops. If I send the link and it is unshared, how will you see it?
- cat_tap
-
Scratcher
1000+ posts
Costume Changing Problems
I click the flag like 4 times, the sprite that I want to change costumes has 3 costumes, and there is a total of 34 costumes and 2 backdrops. If I send the link and it is unshared, how will you see it?With some sorta program, but i don't know how to. i'd share it anyway.
- liamboyhalo
-
Scratcher
500+ posts
Costume Changing Problems
I click the flag like 4 times, the sprite that I want to change costumes has 3 costumes, and there is a total of 34 costumes and 2 backdrops. If I send the link and it is unshared, how will you see it?You can use Turbowarp to view unshared projects.
- CoolLionMan
-
Scratcher
1000+ posts
Costume Changing Problems
I click the flag like 4 times, the sprite that I want to change costumes has 3 costumes, and there is a total of 34 costumes and 2 backdrops. If I send the link and it is unshared, how will you see it?there is a thing called TurboWarp which is used for making projects run faster, and can also be used to view unshared projects
- liamboyhalo
-
Scratcher
500+ posts
Costume Changing Problems
I click the flag like 4 times, the sprite that I want to change costumes has 3 costumes, and there is a total of 34 costumes and 2 backdrops. If I send the link and it is unshared, how will you see it?Maybe it's because you spammed the flag? I don't really know how to help.
- DyteskyYT
-
Scratcher
2 posts
Costume Changing Problems
If changing the costumes using a variable doesn't work, the problem could be that your costume names in the sprite aren't numbers. Will that work?
Last edited by DyteskyYT (Feb. 8, 2021 01:45:18)
- cat_tap
-
Scratcher
1000+ posts
Costume Changing Problems
If changing the costumes using a variable doesn't work, the problem could be that your costume names in the sprite aren't numbers. Will that work?No, I've done it. It will switch to that costume number.
Is it stuck on the last question?
- mybearworld
-
Scratcher
1000+ posts
Costume Changing Problems
It could be that it tried to set the costume name. Try
If that doesn't work, then like the others, a link would be helpful.
when green flag clickedThat may be confusing, but in non-scratch programming languages strings and numbers are different - and as Scratch is written in one, things like that can happen.
forever
switch costume to ((Screen Value) + (0))
end
If that doesn't work, then like the others, a link would be helpful.
Last edited by mybearworld (Feb. 8, 2021 06:10:24)
- PoIygon
-
Scratcher
1000+ posts
Costume Changing Problems
Link of game now
Sorry, you have to wait 60 seconds between posts.
- mightydeep
-
Scratcher
42 posts
Costume Changing Problems
I've got a simple script that says:NOTE: Do not do like this as scratch uses numbers in a “switch costume to” block. Scratch wiki has a different working method :-when green flag clicked
forever
switch costume to (Screen Value)
end
So, when I set screen value to a different number the costume should change but it dosen't.
repeat until <(costume name) = (Screen Value)>
next costume
end
- olahamigosandpi
-
Scratcher
5 posts
Costume Changing Problems
I've got a simple script that says:NOTE: Do not do like this as scratch uses numbers in a “switch costume to” block. Scratch wiki has a different working method :-when green flag clicked
forever
switch costume to (Screen Value)
end
So, when I set screen value to a different number the costume should change but it dosen't.repeat until <(costume name) = (Screen Value)>
next costume
end
Yo thanks dude, It worked!
- cat_tap
-
Scratcher
1000+ posts
Costume Changing Problems
That's:I've got a simple script that says:NOTE: Do not do like this as scratch uses numbers in a “switch costume to” block. Scratch wiki has a different working method :-when green flag clicked
forever
switch costume to (Screen Value)
end
So, when I set screen value to a different number the costume should change but it dosen't.repeat until <(costume name) = (Screen Value)>
next costume
end
when green flag clicked
repeat until <(costume [name v]::looks) = (Screen Value)>
next costume
end
- Discussion Forums
- » Questions about Scratch
-
» Costume Changing Problems









