Scrolling background

DreamLabDreamLab Member Posts: 2,127
edited November -1 in Working with GS (Mac)
I have a scrolling background, but that's all I want to wrap. When i turn on the x wrap it's wrapping everything. I have tried creating different attributes but no solution. Please help.

Comments

  • simo103simo103 Member, PRO Posts: 1,331
    this download shows a method that might work for you .. in it the background is moved instead of wrapping. This spawns and destroys the background actors.

    http://gamesalad.com/game/3623

    A better way might be to have numerous seemless background panels and when one moves offscreen to a certain X position then reset its self.position.x to an x position on the other side of the screen so it moves in again. Would have to play a bit with the numbers to get it right but would help if spawning was effecting your fps.
Sign In or Register to comment.