how to make a scrollable repeated background?

FViMaginationFViMagination Member Posts: 89
edited October 2012 in Working with GS (Mac)
hi there, i would like to make a scrollable background that when it gets to its end, it starts back scrolling from right to left, like jetpack game. let's pretend my bkg is large like 3 iphone landscape screenshoots, how do i make it scroll again from right to left?
thanks ;)

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Well, If I understand what your asking, you could just record the end point of that actor, and create a rule:

    When attribute: self.Position X = (End point)
    Change attribute self.Position X to (Starting point)


    This will create a loop - when the actor gets to the end or certain X value, it will change it's X position back to the beginning.


    Hope this helps,
    Braydon
Sign In or Register to comment.