How do I make my backgrounds to have infinite parallax scrolling, now I know how to have backgrounds on multiple layer with parallax effect but let's say my maps are 10000x10000 format and the game window size is 1024x768 how must I put make it so that each tiled background has infinite width? it runs out of width replacing it with transparency when I move too far to the right causing the tiled background to run out, must I give the background tiles 1000000 width (basically infinite width) or is that a wrong method to give infinite size?
Thanks in advance.