Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i change the costumes smoothly
- Booo-chan
-
Scratcher
3 posts
how do i change the costumes smoothly
how do i change the costumes smoothly?
- sealifefriend
-
Scratcher
500+ posts
how do i change the costumes smoothly
next costume? i don't really understand what you're asking. Do you mean in an animation or when you click the sprite, or…?
- Unithlees3
-
Scratcher
1000+ posts
how do i change the costumes smoothly
... :: hat
repeat (20)
change [your effect v] effect by (5)
end
next costume
repeat (20)
change [your effect v] effect by (-5)
end
- imaginecodding
-
Scratcher
39 posts
how do i change the costumes smoothly
how do i change the costumes smoothly?
I do not understand the question but you can change the costume by using the switch costume
block
switch costume to [ v]
Last edited by imaginecodding (June 24, 2021 15:06:46)
- orangetheory
-
Scratcher
500+ posts
how do i change the costumes smoothly
I think you mean, like when you're watching those famous and cool animators like WazzooTV and PandaMC, how do they change the animations so smoothly? They use this block definition and a lot of, well, clones and pen and extensions, which is a whole lot of work. Even a split-second animation can take hours to make because of all the putting together of blocks. Why don't you remix one of their animations and just change the costumes? I wouldn't describe the script here because it would take too long. tell me if I'm right and make sure to pop in a follow if this helped!
- Booo-chan
-
Scratcher
3 posts
how do i change the costumes smoothly
like in a animationnext costume? i don't really understand what you're asking. Do you mean in an animation or when you click the sprite, or…?
- Booo-chan
-
Scratcher
3 posts
how do i change the costumes smoothly
I think you mean, like when you're watching those famous and cool animators like WazzooTV and PandaMC, how do they change the animations so smoothly? They use this block definition and a lot of, well, clones and pen and extensions, which is a whole lot of work. Even a split-second animation can take hours to make because of all the putting together of blocks. Why don't you remix one of their animations and just change the costumes? I wouldn't describe the script here because it would take too long. tell me if I'm right and make sure to pop in a follow if this helped!like in animation
- MasterofTheBrick
-
Scratcher
1000+ posts
how do i change the costumes smoothly
Don’t see the problem here. Was orangetheory’s post what you meant in the op?
- patriciaunderpants
-
Scratcher
46 posts
how do i change the costumes smoothly
If you mean like fade into another costume (smoothly), then follow this script:
You will need to make multiple costumes for it, since there is no fade effect implemented.
repeat until <(costume #) = [whatever the costume your switching to's number]>
next costume
wait (.25) secs
end
You will need to make multiple costumes for it, since there is no fade effect implemented.
- Yusei-Fudo
-
Scratcher
1000+ posts
how do i change the costumes smoothly
If you mean like fade into another costume (smoothly), then follow this script:repeat until <(costume #) = [whatever the costume your switching to's number]>
next costume
wait (.25) secs
end
You will need to make multiple costumes for it, since there is no fade effect implemented.
Though, there is actually a more smoother way to do this.
switch costume to (([floor v] of ((timer) * (input 1::grey))) mod (number of costumes::grey))
...::grey//input 1 controls the animation speed. The bigger the number, the faster.
Last edited by Yusei-Fudo (June 27, 2021 05:31:42)
- Discussion Forums
- » Help with Scripts
-
» how do i change the costumes smoothly








