Parallax Scroller Image Size (With Config.lua In Mind)

Hey guys. I have a relatively simple question. I’m making a game that requires parallax scrolling, but I’m not sure what size to make the images to make it look good. And by the size of the images, I mean the regular size and the ones @2x and @4x for config.lua. (My config.lua is copy and paste from Rob Miracle’s.)

Although its slightly irrelevant, the code part looks like:

 back = display.newImageRect("Mountain Front.png", 512, 175) back.anchorX = 0 back.anchorY = 1 back.x = 0 back.y = display.contentHeight back.speed = 1 screenGroup:insert(back) back1 = display.newImageRect("Mountain Front.png", 512, 175) back1.anchorX = 0 back1.anchorY = 1 back1.x = display.contentWidth back1.y = display.contentHeight back1.speed = 1 screenGroup:insert(back1) function scrollCity(self, event) if self.x \<= -display.contentWidth then self.x = display.contentWidth - self.speed else self.x = self.x - self.speed end end

Looks perfectly fine on my Kindle Fire HDX 7 inch setting, but I’m not sure what sizes to make the images for dynamic image selection so that it looks good on iPad or iPhone 4/5. Either the image overlaps (iPhone 4) or it doesn’t fill up the space on iPad/iPhone 5.

What size images do I make?!

Thanks a ton,

Tariq