I not can resize, the screen in love2d for android

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Jose_antonio_920
Prole
Posts: 8
Joined: Wed Jul 15, 2020 10:56 pm

I not can resize, the screen in love2d for android

Post 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
User avatar
ReFreezed
Party member
Posts: 612
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

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

Post 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.)
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
Jose_antonio_920
Prole
Posts: 8
Joined: Wed Jul 15, 2020 10:56 pm

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

Post by Jose_antonio_920 »

Hummmmm, sad, this i know. But was not know, not resize in android
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 16 guests