Page 1 of 1

I not can resize, the screen in love2d for android

Posted: Mon May 10, 2021 11:49 am
by Jose_antonio_920
Frist, Sorry my english Very bad, i am from brazil ^^ . My problem is, o not can resize the screen in love for android, my PC has one problem then i use the Android, but not can resize, then i not can Test the projects, o not can use shaders, i try resolve, but not can, They say it is dpi, but i modify the conf.lua, i try use highdpi, usedpiscale, but not modify Nothing

Re: I not can resize, the screen in love2d for android

Posted: Mon May 10, 2021 12:54 pm
by ReFreezed
Hello and welcome to the forums!

I don't think you can change the screen resolution on Android. You can only specify if you want landscape mode or portrait mode by changing the ratio between the width and the height, which is why this code works:

Portrait mode: love.window.setMode(1, 2)
Landscape mode: love.window.setMode(2, 1)

(I might be wrong as I don't develop for mobile.)

Re: I not can resize, the screen in love2d for android

Posted: Mon May 10, 2021 1:09 pm
by Jose_antonio_920
Hummmmm, sad, this i know. But was not know, not resize in android