Visit this page for help on making a scroller: http://wiki.scratch.mit.edu/wiki/Scroller
It is a good place to start.
Good luck
Offline
Scrolling Explained:
Scrolling needs a sprite called Terrain0. Now add a script like this;
<when green flag clicked>
<forever>
<go to x (( <{ ScrollX }> <+> (( 460 <*> 0 )) )) )y (( <{ ScrollY }> <+> (( 460 <*> 0 )) )) )
<end>
Then do the same, but this time, on scrollX, change the 0 to a 1. Repeat this and now you know how to make a horixontal scroller. To make a vertical Donkey-Kong style scroller, instead of changing the ScrollX, change the ScrollY. For the sprite be sure to remeber that to go one way, do the oppisite number for both ScrollY and ScrollX. Hope that has showed you what Scrolling is.
Last edited by NeilWest (2011-10-06 13:46:06)
Offline
NeilWest wrote:
Scrolling Explained:
Scrolling needs a sprite called Terrain0. Now add a script like this;
<when green flag clicked>
<forever>
<go to x (( <{ ScrollX }> <+> (( 460 <*> 0 )) )) )y (( <{ ScrollY }> <+> (( 460 <*> 0 )) )) )
<end>
Then do the same, but this time, on scrollX, change the 0 to a 1. Repeat this and now you know how to make a horixontal scroller. To make a vertical Donkey-Kong style scroller, instead of changing the ScrollX, change the ScrollY. For the sprite be sure to remeber that to go one way, do the oppisite number for both ScrollY and ScrollX. Hope that has showed you what Scrolling is.
Shouldn't the y bit be scrolly+([b]360[b/]x0) not 460, and the x bit 480?
Offline