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

#1 2010-07-22 18:06:37

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Scroll Script Help

I can do almost anything except....make a scroll script please tell me how to make one, i need a 4-way scrolling script


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#2 2010-07-22 18:18:49

vortex19
Scratcher
Registered: 2009-06-03
Posts: 100+

Re: Scroll Script Help

Make a scroll-x and scroll-y variable. When you go left or right, change scroll-x by a positive number and negative number respectively. When you go down or up, change scroll-y by a positive and negative number. Go to http://scratch.mit.edu/projects/vortex19/704112 to see how it works.

Offline

 

#3 2010-07-22 18:27:15

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: Scroll Script Help

i dont want the background to be the only ting to move. i want it so that when your character is at the edge the background moves to a new area.


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#4 2010-07-22 18:36:32

vortex19
Scratcher
Registered: 2009-06-03
Posts: 100+

Offline

 

Board footer