I'm trying to figure out how to make a background that wraps around the screen when it reaches the end of the screen in a side scroller. So every time my character moves to the right the background moves a bit to the left. Once a part of it reaches the end, it wraps around the screen and begins again. Would I just have two images for the background, and once one reaches the end I set it behind the second background?
im sure theres more efficient ways, but an easy option is to double up the image horizontally. as it moves left, its automatically displaying more of the left hand side of the original background over on the right of the screen. once it gets to the halfway point just reset it back to the starting position.
Alright thank you! Ill be sure to try this out.