This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-02-23 10:01:29

Emilyb
Scratcher
Registered: 2010-02-23
Posts: 1

Animation: How do I transition the background slide?

I am building an animation video, but cannot figure out how to transition the background slide.  For example, I want the background to remain the same as the characters continue to move, but the background needs to shift/transition as if the sprites are walking through the "woods" background.  Is this even possible?  Thanks for your help.

Offline

 

#2 2010-02-24 01:09:22

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Animation: How do I transition the background slide?

You have two options:
1) use the experimental panning blocks; but these are quite experimental
2) make an animation, and import every frame.
For number two, just make a variable for whether the background should scroll. If it equals 1, then constantly use [next background], and if it is 0, then do not.
You can use:
<when green flag clicked>
<forever if><( 1 <=> n )>
|<next background>
<end>
[/blocks]
For this.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#3 2010-02-27 22:13:55

jdouglass
Scratcher
Registered: 2010-02-21
Posts: 2

Re: Animation: How do I transition the background slide?

You mention "experimental panning blocks" -- where can I find these? I've looked in Scratch 1.4, the Scratch 1.4+BYOB2 version, and in Scratch 1.2 with "show experimental blocks" turned on. I can't find a block that mentions panning in any of these places.

Offline

 

#4 2010-02-27 23:03:49

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Animation: How do I transition the background slide?

You use horiz. and vert. pan. (From the 1.2 experimental blocks)
You must, however, run these scripts on the stage.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#5 2010-02-28 11:22:57

jdouglass
Scratcher
Registered: 2010-02-21
Posts: 2

Re: Animation: How do I transition the background slide?

Thanks. I downloaded Scratch 1.2 again, and found the "change horizontal pan" experimental blocks.

After shift-clicking the R in Scratch to "enable experimental blocks" and selecting the Stage, I had been looking in Motion and Looks menus. But it turns out for some reason the experimental blocks to pan the stage background appear in Sound.

Offline

 

#6 2010-02-28 12:44:38

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Animation: How do I transition the background slide?

Yes, they do.
I think that they are there, and in sensing just as a placeholder for before they get their own category.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

Board footer