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

#1 2008-04-11 12:57:55

redsooty9
Scratcher
Registered: 2008-03-06
Posts: 69

i need help!

hi everyone i need some help with scrolling! i do know one technique but can anyone tell me if the is any other techniques?


Redsooty9

Offline

 

#2 2008-04-11 13:49:55

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: i need help!

Scrolling always involves moving the background (or world) in the direction opposite the way you want a "character" to appear to be moving.  It can be done with the character always centered, or with the character moving somewhat from the center to help give more of an illusion of motion.  You can also choose to move large "tiles" (sprites that represent the background) or just move smaller sprites that provide an illusion of motion.

It can be done in x, y or both directions but the only thing really "different" will be the specific scripts used by the programmer.   

-MrEd

Offline

 

#3 2008-04-11 14:58:17

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: i need help!

Actually, there is one alternative method that doesn't use moving sprites - which is to draw the background as an animation - draw several scenes with an incremental change in each, that the stage cycles through.

Pretty clunky, and a lot of work, but it is an alternative...


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#4 2008-04-11 15:10:14

redsooty9
Scratcher
Registered: 2008-03-06
Posts: 69

Re: i need help!

thanks guys this should help me alot ^^


Redsooty9

Offline

 

Board footer