Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a sliding transition
- starlightsparker
-
1000+ posts
How to make a sliding transition
I’m working on a project that covers the history of scratch to celebrate the last day of scratch week when it comes, and I need a textbox thing, and for the transition when it switches to the next costume I want it to slide into the next costume like a slideshow thing, but I don’t know how to code that. I also want it to be kind of fast and not too slow
- HOCKEY_PUCK35
-
36 posts
How to make a sliding transition
Maybe try making all of the slides one sprite and set the size so that only when of them can be seen on the stage at a time and then code it like you would code something to walk. i hope that makes sense
- 123pay
-
18 posts
How to make a sliding transition
I'm assuming what you mean is the costume has to fade out while the next one fades in?
If so (and this is going to sound really unoptimized) you COULD just make a different sprite for each slide and
\
again, it's very unoptimized in terms of sprite amounts, but it's the only thing I could think of.
If so (and this is going to sound really unoptimized) you COULD just make a different sprite for each slide and
\
and do the same with each sprite making them fade in when
having them start at ghost effect 100.
again, it's very unoptimized in terms of sprite amounts, but it's the only thing I could think of.
Last edited by 123pay (May 3, 2024 00:18:27)
- BigNate469
-
1000+ posts
How to make a sliding transition
That's "change [ghost v] effect by ()“, by the way. I'm assuming what you mean is the costume has to fade out while the next one fades in?
If so (and this is going to sound really unoptimized) you COULD just make a different sprite for each slide and
\and do the same with each sprite making them fade in whenhaving them start at ghost effect 100.
again, it's very unoptimized in terms of sprite amounts, but it's the only thing I could think of.
You could use clones and a variable set to ”this sprite only" to have them tell the difference between each other. Or, you could just switch backdrops and have a sprite with costumes identical to the backdrop, and have the sprite do the transitions effects.
Last edited by BigNate469 (May 3, 2024 00:22:38)
- Discussion Forums
- » Help with Scripts
-
» How to make a sliding transition