I am a beginner to this and have some very basic questions :)

Hello! Totally noob question here, but: Can i use corona and write in lua and create an iOS app on a windows computer, and test it using the corona simulator, and when finished just transfer the files to a mac and create the finished file on a mac? =)

And what resolution should I create the background in? What screen resolution does an iPhone 4 and iPhone 5 have? =)

Yup, you can do that without troubles (: Just make sure to test on devices because the simulator it’s just that, a simulator, and doesn’t always resemble the behaviors (both in performance and, sometimes, features) of devices.

Regarding the resolution, iphone 4 is 640x960, while iphone 5 is 640x1136.
You can check out dynamic scaling in the docs/guides of Corona, but basically you’ll have an assets for 3gs (480x320), one for iphone 4/5, and another for iPad retina (2048x1536), or even more depending on your choices, and Corona will automatically pick the one right for the device the app is running on.

Thanks alot for the answer! :slight_smile: When I tried to use a 640x960 png background on the Corona simulator, the image was too large for the screen and it got outside the edges. I tried again with a 480x320 and it fit perfectly… So is it 480x320 I am supposed to use? =)

Again, thanks alot for the help! :slight_smile:

That depends on your value in the config.lua file for width and height of the screen (:
Basically what you put in there, will be used on any device, regardless of resolution (so on an iphone 4, if you have 320x480 in your config.lua, even though the screen is 640x960 you will still work on a 480x320 canvas in your app).
To make the graphics crisp and not stretched, you just need to have a name convention that will handle which assets to use on a specific device. For example, usually it is image.png for 3GS, and image@2x.png for iphone 4/5 (: 
You can check out the config.lua guides in the Corona docs page (;

Yup, you can do that without troubles (: Just make sure to test on devices because the simulator it’s just that, a simulator, and doesn’t always resemble the behaviors (both in performance and, sometimes, features) of devices.

Regarding the resolution, iphone 4 is 640x960, while iphone 5 is 640x1136.
You can check out dynamic scaling in the docs/guides of Corona, but basically you’ll have an assets for 3gs (480x320), one for iphone 4/5, and another for iPad retina (2048x1536), or even more depending on your choices, and Corona will automatically pick the one right for the device the app is running on.

Thanks alot for the answer! :slight_smile: When I tried to use a 640x960 png background on the Corona simulator, the image was too large for the screen and it got outside the edges. I tried again with a 480x320 and it fit perfectly… So is it 480x320 I am supposed to use? =)

Again, thanks alot for the help! :slight_smile:

That depends on your value in the config.lua file for width and height of the screen (:
Basically what you put in there, will be used on any device, regardless of resolution (so on an iphone 4, if you have 320x480 in your config.lua, even though the screen is 640x960 you will still work on a 480x320 canvas in your app).
To make the graphics crisp and not stretched, you just need to have a name convention that will handle which assets to use on a specific device. For example, usually it is image.png for 3GS, and image@2x.png for iphone 4/5 (: 
You can check out the config.lua guides in the Corona docs page (;