Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » need help with costumes
- miawuwu
-
9 posts
need help with costumes
i'm trying to make a animation type thing, and i made a few costumes so i could use the code blocks to make the main sprite switch to the costumes i made. but, heres the thing; it only shows one costume, and that's the main sprite. what's going on??
- Nezon
-
1000+ posts
need help with costumes
game link? Also, if the costumes are in a different sprite, then the thing will not switch.
Last edited by Nezon (Sept. 21, 2020 15:09:54)
- miawuwu
-
9 posts
need help with costumes
i haven't actually posted it yet, but they have to be in the same sprite? how do i divide them into their own sepreate costumes?
- Nezon
-
1000+ posts
need help with costumes
?
I have to see the project before I can help you, else, I will have no knowledge of what to give you for help
I have to see the project before I can help you, else, I will have no knowledge of what to give you for help
- Nezon
-
1000+ posts
need help with costumes
take the coustumes, and put them inside the original sprite, and delete the original sprite
- miawuwu
-
9 posts
need help with costumes
ok, i put them in the same sprite but now what? how do i actually animate the animation? .-.
- Nezon
-
1000+ posts
need help with costumes
use a switch to coustume and wait block
switch costume to [ v]
next costume
forever
end
repeat ()
end
wait () secs
Last edited by Nezon (Sept. 21, 2020 15:34:35)
- miawuwu
-
9 posts
need help with costumes
its still not working right, do i have to like switch on a setting to give them their own costume?
- ScratchLetters2020
-
100+ posts
need help with costumes
You don't have to switch on a setting.
Just make some animation costumes.
The costumes have to be in one sprite. They can't be in separate sprites, or it won't work.
Very simple way:
Just make some animation costumes.
The costumes have to be in one sprite. They can't be in separate sprites, or it won't work.
Very simple way:
repeat until <(costume [number v] ::looks) = (your pick)>
next costume
end
Last edited by ScratchLetters2020 (Sept. 21, 2020 16:12:30)
- In_Your_Eyes_I_See
-
61 posts
need help with costumes
use a switch to coustume and wait blockswitch costume to [ v]
next costume
forever
end
repeat ()
end
wait () secs
You mean:
repeat ((highest costume #) )
next costume
wait (0.1) secs
end
Last edited by In_Your_Eyes_I_See (Sept. 21, 2020 16:15:28)
- Nezon
-
1000+ posts
need help with costumes
Guys, i was showing the most used blocks for animations, it was not a script
- TheNintendoFan2020
-
1000+ posts
need help with costumes
You can also look inside the best animators Animations by clicking see inside to see how.
- saad0903
-
17 posts
need help with costumes
its still not working right, do i have to like switch on a setting to give them their own costume?
You first have to create multiple costumes/picture in the same sprite
Then when you do when do you want your project to start from (which costume/picture) take that costume and right this code:
When green flag is clicked do this:
switch costume to [ the costume you want to start the animation from]
Then you can change the costume to whatever animation you want afterwards and change the speed of the project using the wait seconds block
- Nezon
-
1000+ posts
need help with costumes
Guys, place stop, he/she stopped working on the project and is working on another project, this topic is closed.
- Discussion Forums
- » Help with Scripts
-
» need help with costumes