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

#1 2008-12-07 16:33:52

joeisawesome
Scratcher
Registered: 2008-06-10
Posts: 1000+

i forgot something...

I forgot the scripts on how to scroll! can someone remind me?

                                                                             Thanks!
                                                                                    -Joeisawesome


http://image.hotdog.hu/user/Alex-21/Zenekarok-Ensiferum.jpg

Offline

 

#2 2008-12-19 20:21:51

valitakpa
Scratcher
Registered: 2008-10-30
Posts: 9

Re: i forgot something...

Yes yes!! Just look:

[Blocks]<when green flag clicked>
<forever>
<set x to( (( <{ Scroll X }> <+> (( 480 <*> 0 )) ))
<end>[/blocks]

That's for the first terrain. When you add more terrains you have to put
[blocks]<set x to( (( <{ Scroll X }> <+> (( 480 <*> 1 )) ))[/blocks]
Also, you have to put:

[blocks]<when[ left arrow ]key pressed>
<change{ Scroll X }by( 1
[/blocks]
or any number you want

Hope that helped!!

Last edited by valitakpa (2008-12-19 20:22:54)


Calling me FAKE won't make you REAL, calling me STUPID won't make you SMART, calling me WEAK won't make you STRONG, calling me UGLY won't make you BEAUTIFUL, calling me POOR won't make you RICH so why bother being MEAN!

Offline

 

#3 2008-12-19 20:34:11

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: i forgot something...

The original scrolling tutorial is in the stickies area
http://scratch.mit.edu/forums/viewtopic.php?id=2440


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2008-12-19 20:37:02

valitakpa
Scratcher
Registered: 2008-10-30
Posts: 9

Re: i forgot something...

oh! I forgot! One of my friends, yambanshee, has a scrolling tutorial http://scratch.mit.edu/projects/yambanshee/263478 And it is very good. Maybe you'll refresh your memory with it  smile


Calling me FAKE won't make you REAL, calling me STUPID won't make you SMART, calling me WEAK won't make you STRONG, calling me UGLY won't make you BEAUTIFUL, calling me POOR won't make you RICH so why bother being MEAN!

Offline

 

Board footer