Ultimate config 320x480
ultimate config 320x480 Letter Box
This configuration is widely used and standard of Solar2D. I recommend to use the ultimate config of Kwik4. You may easily share your assets or projects with Solar2D developers without worrying about the different configurations.
https://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/- https://forums.solar2d.com/t/what-should-be-the-background-images-size-to-use-with-ultimate-config-file/331266
Bacground image
- 360 × 570 @1x
- 720 × 1180 @2x
- 1440× 2280 @4x
Please read PSD Sizes and iPhone X iOS11 change
iPhone X
- 360 × 694 @1x
- 720 × 1382 @2x
- 1440 × 2776 @4x
updated in 2018.8 from 360x693 to 360x694
Device | .contentWidth | .contentHeight | .actualContentWidth | .actualContentHeight | suffix | .pixelWidth | .pixelHeight | Scale |
---|---|---|---|---|---|---|---|---|
iPhone3gs | 320 | 480 | 320 | 480 | @1 | 320 | 480 | 1.0 |
iPhone4/4s | 320 | 480 | 320 | 480 | @2 | 640 | 960 | 2.0 |
iPhone5/5s | 320 | 568 | 320 | 568 | @2 | 640 | 1136 | 2.0 |
iPhone6 | 320 | 569 | 320 | 569 | @2 | 750 | 1334 | 2.3 |
iPhone6+ | 320 | 569 | 320 | 569 | @4 | 1080 | 1920 | 3.4 |
iPad mini | 360 | 480 | 360 | 480 | @2 | 768 | 1024 | 2.1 |
iPad Air | 360 | 480 | 360 | 480 | @4 | 1536 | 2048 | 4.2 |
iPad Pro | 360 | 480 | 360 | 480 | @4 | 2048 | 2732 | 5.6 |
Kindle Fire HD | 320 | 512 | 320 | 512 | @4 | 1600 | 2560 | 3.75 |
Galaxy S5 | 320 | 568 | 320 | 568 | @4 | 1080 | 1920 | 3.4 |
iphone4 480 320 @2x

iphone5 568 320 @2x

iphone6 569 320 @2x

iphone 6 Plus 569 320 @2x

ipad mini 480 320 @2x

ipad Air 480 320 @4x

iPad Pro 480 360 @4x

Galaxy S5 569 320 @4x

Amazon Fire TV 569 320 @4x

Other configuration of Solar2D
-
https://forums.solar2d.com/t/from-the-blog-understanding-content-scaling-in-corona/348296
-
https://forums.solar2d.com/t/adaptive-content-with-backgrounds/340130
-
Modern config can be 800x1200 system but Solar2D Widget does not support it
https://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/ -
Pixel perfect system
http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-36/ -
adaptive system
https://coronalabs.com/blog/2014/10/28/resolution-independence-adaptive-content-scaling-in-corona/