Discuss Scratch

UnnamedandMilly
Scratcher
4 posts

Fading Backdrops

How do I make a backdrop fade into the next one immediatly. Been trying to figure this out for a few months now.

Last edited by UnnamedandMilly (June 4, 2022 20:01:26)

musicROCKS013
Scratcher
1000+ posts

Fading Backdrops

Make a sprite with the background, and use the ghost effect to make it fade
TR_Borg
Scratcher
82 posts

Fading Backdrops

Here's an example project where one backdrop fades to the other: https://scratch.mit.edu/projects/692193674/
helloworldbyeworld
Scratcher
1000+ posts

Fading Backdrops

Making it actually fade from one to another without a “blank” stage is a bit harder. You can do so with clones, but in order for this to work, you must put your background in a sprite, rather than a backdrop.

Use this script to fade from one background costume to another:

definefadefrombg1tobg2switchcostumetobg1createcloneofmyself this will handle the current costumeswitchcostumetobg2setghosteffectto100repeat20changeghosteffectby-5wait0.05secswhenIstartasaclonegotofrontlayercleargraphiceffectsrepeat20changeghosteffectby5wait0.05secsdeletethisclone

Last edited by helloworldbyeworld (June 4, 2022 20:29:29)

UnnamedandMilly
Scratcher
4 posts

Fading Backdrops

helloworldbyeworld wrote:

Making it actually fade from one to another without a “blank” stage is a bit harder. You can do so with clones, but in order for this to work, you must put your background in a sprite, rather than a backdrop.

Use this script to fade from one background costume to another:

definefadefrombg1tobg2switchcostumetobg1createcloneofmyself this will handle the current costumeswitchcostumetobg2setghosteffectto100repeat20changeghosteffectby-5wait0.05secswhenIstartasaclonegotofrontlayercleargraphiceffectsrepeat20changeghosteffectby5wait0.05secsdeletethisclone

thanks bro

Last edited by UnnamedandMilly (Oct. 19, 2022 21:59:54)

Powered by DjangoBB