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

#1 2010-03-03 11:31:28

Clone15
Scratcher
Registered: 2010-02-07
Posts: 24

Up-scrolling

How do you make an up scrolling background? Let's say you were making a jetpack game and wanted to continuously go up?

Offline

 

#2 2010-03-03 11:43:49

calebxy
Scratcher
Registered: 2009-12-31
Posts: 1000+

Re: Up-scrolling

first make a variable called "scroll y". Then go to the sky (the thing that is going to be scrolling can't be the stage) and use this code: <when green flag clicked> <forever> <set y to( ((  <+>  ))
        <{  }>((  <*>  )) 360*0

Then go to the next sky and repeat, but change the 360*0 for 360*1
The go to the jet pack person and put: if up key pressed change scroll y by -10


I'm making my own Doctor Who series!  big_smile  See the first episode here.
And please join Story Zone!  big_smile

Offline

 

#3 2010-03-06 14:16:48

Clone15
Scratcher
Registered: 2010-02-07
Posts: 24

Re: Up-scrolling

Thanks so much  big_smile

Offline

 

Board footer