I have a simple config file
Code: Select all
function love.conf(t)
local major, minor, revision, codename = love.getVersion()
t.title = "TJournal 2018 ("..major ..'.'.. minor ..'.'.. revision ..'-'.. codename ..")"
t.window.width = 480
t.window.height = 800
t.modules.mouse = true
t.modules.window = true
t.window.minwidth = 270
t.window.minheight = 480
t.externalstorage = true
end
It seems like the orientation has changed to portrait but the actual "window" size are wrong: height is being used as width and vice versa.
Moreover, the actual size of a "window" in full-HD.
Code: Select all
love.window.getMode( )
If I launch the same *.love using a 10.2 love2d and use the original version of the config (portrait, h>w), then the screen stays in lanscape displaying whatever fits it's size and cutting everything else.
Note, that a simple love.graphics.rotate won't suffice, since there will be issues with the GUI.