How would I make a continuous scrolling background with one image? I guess it would go something along the lines of make a group and a timer that transitions the x coordinate. I’m just not sure how to handle loading the image into the group so it repeats indefinately.
local image1 = display.newImage(“background_bubbles.png”,0,0);
local image2 = display.newImage(“background_bubbles.png”,320,0);
image2:scale(-1,1); – flip it… you dont’ have to
transition.to(image1, { time=35000, delay=1500, x= -(image1.width/2)});
transition.to(image2, { time=35000, delay=1500, x= (image2.width/2) } )
Look at this thread for additional information