I’m getting a weird issue: My map consist to show 15x10 blocks on the screen at time (each block has 32x32 pixels, then the resolution needed is 480x320).
When I try to render the map, something happens, a black stripe is created on the bottom of the screen (some as iPad Mini the stripe is on right side), hiding the entire last row.
Example:
My config:
width = 320, height = 480, scale = "zoom", fps = 30
The code:
mte.loadTileSet("Tiles", "Tiles.png") mte.loadMap("maps/maptest.tmx") local camera = mte.setCamera({locX = 1, locY = 1, scale = 1}) mte.constrainCamera()
I noticed some phone viewers like iPhone 4 (640x960), Kindle Fire HD 7’ (800x1280) show the map correctly. What can I do to fit the map correctly on the screen?
Thanks!