GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Scrolling background

DreamLabDreamLab Posts: 2,127Member
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 Posts: 1,331Member, PRO
    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.
This discussion has been closed.