Sheesh, dynamic content scaling, fresh on my to-do list, looks like a can of worms.
Is there a simple way of doing the following:
Do a check on startup - or have Corona do this automatically - to see wether the canvas of the device is closest to 320 x 480 or 400 x 800, and based on that to use different code and assets - and thus skip a lot of the trouble involved?
Sort of like putting 2 size in the configs (320 x 480 and 640 x 960) as possible virtual screen sizes, having Corona pick the closest match and scaling, and then having something like this in main.lua:
if content.width == 320 then
SmallSizeGameStart()
elseif content.width == 640 then
BigSizeGameStart()
end
That would make things a lot easier for me to start…
Thanks!
Thomas [import]uid: 70134 topic_id: 15385 reply_id: 315385[/import]
[import]uid: 3826 topic_id: 15385 reply_id: 56860[/import]