I had troubles when I set the height and width to 0... I dont remember why thought.slime wrote:If it can't do the resolution you choose (or the default 800x600), then it'll pick the next highest available for the system. If you set 0 for width and height, it'll choose the full size possible.Mermersk wrote:Does anybody know how resolution works ? If I set no resolution in config file, will it just readjust to each screen size? I guess what I am asking is: is resolution something I have to think about while developing for android ?
However, DPI is an issue to be aware of on Android. Two devices might have the same screen size in real life, but one might be twice the resolution of the other - and the user expects content to look "normal" on the one with twice the resolution in the same physical space.
love.window.getPixelScale can help you with that (it's also a feature that will be in the official version of LÖVE 0.9.1.)
EDIT: I dont know if your proposal for a common api using getPixelScale() was implemented slime, That's why I am writing this
EDIT2: It was implemented, sorry