IM still stuck on the scrolling problem. The terrain on my project doesn't move, still. I've looked at some tutorials and i have exactly the same blocks. I think theres a bug on my scratch program. p.s how do you add projects to galeeries as mine doesn't show up on the box where the projects are supposed to go.
Offline
It must be your character <when green flag clicked><change{ScrollX}by(1 <forever if>
Also the land/what your character stands on must have this <when green flag clicked> <set x to(1 (( <{ScrollX}> <*> ))((480<+>0)) sorry if you don't understand I'm not good at the block thing.Have you tryed looking at sampleprojects scrolling demo?
Last edited by ngamer (2011-12-24 12:31:42)
Offline
Try searching a project that has scrolling, then download it and look it over
I made a simple left to right scroller but sadly never uploaded it
And it's on the other computer
The one without Internet. Figures.
Offline
when green flag clicked
forever start
set x to scroll x (variable) plus 480 * 0
forever end
that is for x scrolling. for y scrolling
When green flag clicked
forever start
set y to scroll y (variable) plus 360 * 0
forever end.
what that does is it sets the sprite to a locked on place. If you want to have a moving sprite on a scrolling stage. You create a ground sprite and use the code above to set it to a locked on place
Offline