Actual resolution
Posted: Fri Feb 26, 2021 2:15 pm
Hello,
today I noticed something strange on resolution.
I'm doing a game with the following parameter set in conf.lua
I took a screenshot of the game (i'm running on win 10 and my display resolution is 1920x1080 and I measured the game dimension on the screenshot and it is 540x960.
How does it possible?
Thank you for your help
today I noticed something strange on resolution.
I'm doing a game with the following parameter set in conf.lua
Code: Select all
t.window.width = 360 -- The window width (number): 360
t.window.height = 640 -- The window height (number): 640
t.window.borderless = true -- Remove all border visuals from the window (boolean)
t.window.resizable = false -- Let the window be user-resizable (boolean)
t.window.minwidth = 1 -- Minimum window width if the window is resizable (number)
t.window.minheight = 1 -- Minimum window height if the window is resizable (number)
t.window.fullscreen = false -- Enable fullscreen (boolean)
t.window.fullscreentype = "exclusive" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
How does it possible?
Thank you for your help