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

#1 2012-04-22 07:05:58

RogueDream01
New Scratcher
Registered: 2012-02-12
Posts: 9

I need help with scrolling.

Yeah, I know that this question has been asked a million times before. But really, how do you do scrolling??!! It has something to do with the number 480, but im really confused, could anyone help???

Offline

 

#2 2012-04-22 07:29:21

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: I need help with scrolling.

Scrolling on the Scratch wiki.  wink

Offline

 

#3 2012-04-22 07:59:17

RogueDream01
New Scratcher
Registered: 2012-02-12
Posts: 9

Re: I need help with scrolling.

thanks!

Offline

 

#4 2012-04-23 17:43:22

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: I need help with scrolling.

I follow all of the directions, but it won't let me use moe than three or four full-width (screen width) terrains. Any help here?


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#5 2012-04-27 21:02:06

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: I need help with scrolling.

First background:

when clicked
forever
set x to
scrollx
+
0
*
480

for the second:

when clicked
forever
set x to
scrollx
+
1
*
480

for the character:

when clicked
forever
if
key
right arrow
pressed?
change
scrollx
by
-3
if
key
left arrow
pressed?
change
scrollx
by
3

Last edited by berberberber (2012-05-27 22:14:52)


http://i47.tinypic.com/2iaa73k.png

Offline

 

#6 2012-04-27 22:26:58

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: I need help with scrolling.

berberberber wrote:

First background:

when clicked
forever
set x to

for the second:

when clicked
forever
set x to

for the character:
when clicked
forever
if
right arrow
pressed
change
scrollx
by
-3
if
left arrow
pressed
change
scrollx
by
3

Scratchblocks fixed


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#7 2012-04-27 22:31:41

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: I need help with scrolling.

mythbusteranimator wrote:

berberberber wrote:

First background:

when clicked
forever
set x to
scrollx
+
0
*
480

for the second:

when clicked
forever
set x to
scrollx
+
1
*
480

for the character:
when clicked
forever
if
key
right arrow
pressed?
change
scrollx
by
-3
if
key
left arrow
pressed?
change
scrollx
by
3

Scratchblocks fixed

NOW they're fixed  tongue

Offline

 

Board footer