You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in the FaQ, I tried to get portrait mode in löve with conf.lua, I tried many width/height combinations where height > width but it doesn't seem to work at all.
Here is one of the tried conf.lua:
function love.conf(t)
t.window.width = 100
t.window.height = 200
t.window.fullscreen = true
t.window.resizable = false
end
Edit: It seems like updateMode doesn't work either, fortunately setMode seems to work perfectly so I will use that for now
The text was updated successfully, but these errors were encountered:
Alright looks like there's some conflicts going on here.
I tested both the love2d.org-provided APK vs. master branch and I can reproduce it with both APKs. It seems can't properly set orientation to portrait if you set t.window.fullscreen = true at love.conf. The t.window.resizable = false is needed there to prevent the game change orientation so that's fine.
A workaround exist by setting the t.window.fullscreen = false at love.conf then calling love.window.setFullscreen(true) at love.load.
As mentioned in the FaQ, I tried to get portrait mode in löve with conf.lua, I tried many width/height combinations where height > width but it doesn't seem to work at all.
Here is one of the tried conf.lua:
Edit: It seems like
updateMode
doesn't work either, fortunatelysetMode
seems to work perfectly so I will use that for nowThe text was updated successfully, but these errors were encountered: