I have a 4K monitor and the gamedeving with the default window 800x600 is pretty hard. So, I use the window size at least the FullHD (windowed), but by release I can forget to change it for something compatible to monitors with resolution 1366x768.
Available resolutions:
Code: Select all
modes = love.window.getFullscreenModes()
for i, v in pairs (modes) do
print (i..' width : '..v.width..' height: '..v.height)
end
Code: Select all
1 width : 3840 height: 2160
2 width : 2560 height: 1600
3 width : 2560 height: 1440
4 width : 2048 height: 1536
5 width : 1920 height: 1440
6 width : 1920 height: 1200
7 width : 1920 height: 1080
8 width : 1768 height: 992
9 width : 1680 height: 1050
10 width : 1600 height: 1200
11 width : 1600 height: 1024
12 width : 1600 height: 900
13 width : 1440 height: 900
14 width : 1366 height: 768
15 width : 1360 height: 768
16 width : 1280 height: 1024
17 width : 1280 height: 960
18 width : 1280 height: 800
19 width : 1280 height: 768
20 width : 1280 height: 720
21 width : 1176 height: 664
22 width : 1152 height: 864
23 width : 1024 height: 768
24 width : 800 height: 600
25 width : 720 height: 576
26 width : 720 height: 480
27 width : 640 height: 480
It would be nice to detect the 4K or less-than-FullHD displays and adjust graphics/physics to it.