Hi there,
I’m using Lime to render tiledmaps and I’m brand new on Corona and I’m trying to figure out how to scale a tile map to fit the viewable screen.
Checking on available tutus, the pretty basic settings for most cases is something like that:
config.lua
width = 320, height = 480, scale = "letterbox", fps = 30
“letterbox” option for scalling means that all contente will be scalled to fit the screen preserving the same aspect ration. If I try to render a map with dimmensions that fit’s it (320x240) I have to do something like that: 15x10 and each tile frame with 32 pixels.
When I deploy the sample app for two android’s smart phones I’ve noticed a very tiny area between the right map edge and phone’s status bar that is not filled (completely black).
If I switch the phone viewers on Corona Simulator, the “gap area” is greater that others, but this is a simulation, dunno if the final render map gonna to be the same.
So, the problem may occurs because the scale mode selected, how can I ensure all drawable map gonna be render and fill all availabel area?
Thanks in advance.