Discuss Scratch

JB150
Scratcher
100+ posts

How to: Make Animations (Transitions) Between Backdrops

For the Scratchers who might find this useful, I've made a short script that creates an amazing transition animation between two backdrops - useful when creating slide-shows and how-to projects. Here is the code:

when green flag clicked
switch backdrop to [your first backdrop]
clear graphic effects

when [space] key pressed
repeat (50)
change [ghost] effect by (3)
Then, join the bottom of this script to the top of the one below:
next backdrop
repeat (50)
change [ghost] effect by (-3)

With this code, you can make smooth animations - and it works with sprites too as long as you replace the ‘switch backdrop’ block to ‘switch costume’ instead.

I hope this helps and comes in handy!

JB150.
Jade_Diys
Scratcher
9 posts

How to: Make Animations (Transitions) Between Backdrops

*thumbs up*
Hello_Nicole
Scratcher
3 posts

How to: Make Animations (Transitions) Between Backdrops

Nice!
winterwolf2467
Scratcher
2 posts

How to: Make Animations (Transitions) Between Backdrops

i cant find the ‘next backdrop’ piece

this is great though
winterwolf2467
Scratcher
2 posts

How to: Make Animations (Transitions) Between Backdrops

oops doesnt matter i was looking at the sprite scrips instead of the backdrop one
Volcanohead
New Scratcher
1 post

How to: Make Animations (Transitions) Between Backdrops

Thanks for the tip. I'm working on my first project and needed a smoother way to go from one scene to the next.
VintageAura
Scratcher
100+ posts

How to: Make Animations (Transitions) Between Backdrops

PLEASE STOP. You necroposted on a 2-year-old post; that's a tutorial. It's nice, sure, but just link it whenever someone's looking for something like this, posting puts it back on the front page.
osdev_
New Scratcher
1 post

How to: Make Animations (Transitions) Between Backdrops

no @VintageAura
codeman1044
Scratcher
1000+ posts

How to: Make Animations (Transitions) Between Backdrops

Please avoid necroposting. The person you said no to also asked the same. If you necroposted out of spite then please don't do that, as that's reportable.
coolcoderbrooky
Scratcher
5 posts

How to: Make Animations (Transitions) Between Backdrops

didn't help
Lazy_otter2_0
Scratcher
13 posts

How to: Make Animations (Transitions) Between Backdrops

Thank you very much! This was very helpful, and despite what other people say, it worked quite well. I was able to modify it to fit my needs! ")
deck26
Scratcher
1000+ posts

How to: Make Animations (Transitions) Between Backdrops

Lazy_otter2_0 wrote:

Thank you very much! This was very helpful, and despite what other people say, it worked quite well. I was able to modify it to fit my needs! ")
Please don't necropost just to say thanks. It brings an old topic to the top of the forum and bumps someone with a current problem off the top page.
PersRufaro
Scratcher
100+ posts

How to: Make Animations (Transitions) Between Backdrops

coolcoderbrooky wrote:

didn't help
Please don't necropost. This topic is already old and resolved. Start your own topic if you need help. Thanks
_meow_gobo_
Scratcher
53 posts

How to: Make Animations (Transitions) Between Backdrops

Lazy_otter2_0 wrote:

Thank you very much! This was very helpful, and despite what other people say, it worked quite well. I was able to modify it to fit my needs! ")


ok, please stop necroposting! if you have something else to say then start a new topic by going to the help with scripts and clicking on it to see the new topic button
_______________
a kumquat ate my singniture
jellyslogokop
New Scratcher
1 post

How to: Make Animations (Transitions) Between Backdrops

didn’t help
Jk it did except
i want pers rufaros signature
tommydoggcat
Scratcher
12 posts

How to: Make Animations (Transitions) Between Backdrops

when green flag clicked
forever
if <you don't know something> then
Ask the scratch community


else
teach the scratch community
end
end
tommydoggcat
Scratcher
12 posts

How to: Make Animations (Transitions) Between Backdrops

when green flag clicked
forever
if <(answer) = (I need transitions)> then
go to [url=https://scratch.mit.edu/projects/400752261/]Cool Transions[/url]
end
end
Cool Transitions

Last edited by tommydoggcat (May 31, 2020 18:52:54)

justin_the_tutor
New Scratcher
4 posts

How to: Make Animations (Transitions) Between Backdrops

JB150 wrote:

For the Scratchers who might find this useful, I've made a short script that creates an amazing transition animation between two backdrops - useful when creating slide-shows and how-to projects. Here is the code:

when green flag clicked
switch backdrop to [your first backdrop]
clear graphic effects

when [space] key pressed
repeat (50)
change [ghost] effect by (3)
Then, join the bottom of this script to the top of the one below:
next backdrop
repeat (50)
change [ghost] effect by (-3)

With this code, you can make smooth animations - and it works with sprites too as long as you replace the ‘switch backdrop’ block to ‘switch costume’ instead.

I hope this helps and comes in handy!

JB150.

This can also help:

when green flag clicked
forever
wait (1) secs
next backdrop

Powered by DjangoBB