Scrolling Background Problem

G3ck0G3ck0 Member Posts: 12
edited March 2012 in Working with GS (Mac)
I am making a platformer, and I want a parallax scrolling background. My background is going to be far too large to fit in a width of 1024, so I need to split it up into separate images. I can make both scroll slower than the foreground, but then background 1 moves first, and then background 2 moves. This constantly leaves a line of 1 or 2 white pixels between the images. Is there a way to make the images attached, or something similar, so I can do the parallax scrolling with more than one picture, without the stupid gap constantly appearing?

Comments

  • cbtcbt Member Posts: 644
    What behavior are you using to move them?

    Move or interpolate or change.self.linearvelocity?
  • G3ck0G3ck0 Member Posts: 12
    I can't remember how I did (changed it back so that each image is attached to each screen width, looks alright), but I though there was some kind of parallax scrolling behaviour already there? I used that.
  • CloudsClouds Member Posts: 1,599
    edited March 2012
    Problem: There is a small gap between two actors.
    Answer: Make them a little wider.
Sign In or Register to comment.