Hello
I have made my background scrolling at the moment and I am trying to make it repeat back to the first background image after the last one but I am not sure how this could be done with the scripts I have.
The blocks used in 'Stage'
The blocks used for each Background image. (Each image has a different x position and globalx)
Another problem I am having is during the scrolling is when the images scroll to a certain point they dissapear. Like when half way through my second background sprite the first one dissapears and half way through the third ,the second dissapears. Would I have to draw longer images?
Any help would be greatly appreaciated. Thanks for your time.
Offline
I know! I learnt from Dream-Caster!
First sprite(not refering to sprites below):
<when green flag clicked><forever><change{scrollx }by( -1
Moving Background sprite1
<when green flag clicked><forever><set x to((<{ scrollx }> <+> (( 480 <*> 0 )) ))
Moving Background sprite2
<when green flag clicked><forever><set x to((<{ scrollx }> <+> (( 480 <*> 1 )) ))
<if><( <x position> <>> 0 )><set{scrollx }to( 0
Hope this helps.
Offline
I dont know how scrollers work but i suggest if you dont care about understanding just go to a good scrolling game and just change the sprites. im doing that!:-)
Offline