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

#1 2010-07-25 08:49:43

wetnose321
New Scratcher
Registered: 2010-06-15
Posts: 2

scrolling

when I scroll, i have to go all the way to the edge for it to scroll. I want it to scroll 3/4 the way to the edge. Help? [blocks]<change{ scroll x }by( [/blocks]

Offline

 

#2 2010-07-25 09:01:41

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: scrolling

If right arrow key pressed
  If x > 180
    change scroll x by 1
  else
    change x by 1
If left arrow key pressed
  If x < -180
    change scroll x by -1
  else
    change x by -1

Does this help?


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2010-07-25 09:09:11

wetnose321
New Scratcher
Registered: 2010-06-15
Posts: 2

Re: scrolling

ty!

Offline

 

#4 2010-07-25 16:07:17

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: scrolling

Glad to see your issue is working out! This forum topic no longer seems like we need it, so I'll close it up to keep things neat and tidy  big_smile

Offline

 

Board footer