Hello everyone,
Simple question here. I am thinking about purchasing MTE as I’ve heard it’s much, much better than Ceramic and Lime.
The main issue I have with Ceramic/Lime is that the map doesn’t appear aligned when loaded.
I create a simple map with four tiles forming a square at the bottom left of the map. I use the ultimate config.lua which uses letterBox.
My background covers the whole screen and the map is aligned with the lower left corner as expected on most devices but on some devices there is a small amount of space to the left and/or bottom of the map so it isn’t quite aligned perfectly.
Is this something MTE handles?
Using these variables I found elsewhere on the site, I was able to manually draw a rect on the screen aligned with the bottom left of the screen on every device.
local topY = display.screenOriginY
local rightX = display.contentWidth - display.screenOriginX
local bottomY = display.contentHeight - display.screenOriginY
local leftX = display.screenOriginX
(then create a rect with those variables)
Basically, I want to lock the content area to the bottom left of the physical screen and force it to continue all the way to the right side of the screen. If the top of the map is cropped, that’s fine because the background will take care of it. Isn’t there a way to do this?