Hi guys, I am very confused with dynamic content scaling techniques.
Help me one more time please to understand and choose the best one.
So if I understand correct, there are two general methods. (I am talking about iPhones)
METHOD 1. make all PNGs with size 960x640, then use (maximum size at this moment)
local myBg = display.newImageRect(“bg.png”, 640, 960)
and if running on older device, such as iPhone 3G/3GS with 320x480 screen, Corona will automatically scale my PNGs down. (based on scale = XXXX in config.lua)
[+] making only one png, easy.
[-] not as much universal, will not work in the future with bigger resolution screen devices
METHOD 2. make two different PNGs and use @2 suffix method, set up config.lua for suffixes and use
local myBg = display.newImageRect(“bg.png”, 320, 480)
and if running on newer devices, Corona will automatically choose bigger PNG with @2 suffix
[+] easy customizable for the future, just add new sized PNGs
[-] many PNGs, possibly bigger size
So which one is better in practice? [import]uid: 39634 topic_id: 26440 reply_id: 326440[/import]
[import]uid: 39634 topic_id: 26440 reply_id: 107246[/import]