I not can resize, the screen in love2d for android
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 8
- Joined: Wed Jul 15, 2020 10:56 pm
I not can resize, the screen in love2d for android
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
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.)
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.)
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
"If each mistake being made is a new one, then progress is being made."
-
- Prole
- Posts: 8
- Joined: Wed Jul 15, 2020 10:56 pm
Re: I not can resize, the screen in love2d for android
Hummmmm, sad, this i know. But was not know, not resize in android
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests