need help making a background image

ok so my corona sdk simulator says S5 is 320 X 480 resolution. so i need to make a background image with the exact resolution. Now i don’t  know how exactly that’s true but  i am going with the flow. 

but here is the problem i cant seem to export my image with that resolution (320 x 480) in illustrator. Photoshop and other software are too hard for me.

when you first time create a new canvas it asks you the width and height and i put in the numbers but when i tried to export it as .png the width and height changes randomly. 

Ok so this is what i do. ( In photoShop. But i think the steps are the sameish. )

So i make a 1080x1920 canvas and do my stuff. 

Then i save it to the root of my game. ( Where main.lua is located )

So now my image is 1080x1920.

Now i add the image in my game or app like this.

local BG = display.newImageRect( "Image.png", display.actualContentWidth, display.actualContentHeight ) BG.x = display.contentCenterX BG.y = display.contentCenterY

So what this does is gets the actual width of the screen and sets that for the background and same with height.

And then i set the X and Y of the image to the center of the screen. 

So now you have an HD resolution image!

Good Luck!

–SonicX278

oh ok thank you very much !!! :) 

Ok so this is what i do. ( In photoShop. But i think the steps are the sameish. )

So i make a 1080x1920 canvas and do my stuff. 

Then i save it to the root of my game. ( Where main.lua is located )

So now my image is 1080x1920.

Now i add the image in my game or app like this.

local BG = display.newImageRect( "Image.png", display.actualContentWidth, display.actualContentHeight ) BG.x = display.contentCenterX BG.y = display.contentCenterY

So what this does is gets the actual width of the screen and sets that for the background and same with height.

And then i set the X and Y of the image to the center of the screen. 

So now you have an HD resolution image!

Good Luck!

–SonicX278

oh ok thank you very much !!! :)