I am working with a Tiled background and as the left edge moves past my screen edge I want to reduce it back to my screen edge, at the same time I want to increase the width of the right edge so I don't run out of background.
I am on an endless platform running to the right. This means my backgrounds moves to the left. I obviously can't make it endless so I need a way to increase the right side width as I move to continue to see my background. For performance I feel I need to delete some of the infinite background I already ran across.
I used two backgrounds before and as one passes it deletes and adds it to the right edge but I feel like that is a sloppy way to do it when you have a background tile sprite.
I'm hoping it is something easy but called something I haven't heard of. Any help is great!