conf.lua 1.4 KB

12345678910111213141516171819202122232425262728
  1. function lovr.conf(t)
  2. t.headset.drivers = { 'desktop' }
  3. --t.window.width = 1120 -- The window height (number)
  4. --t.window.height = 630 -- The window height (number),
  5. t.window.width = 1920 -- The window height (number)
  6. t.window.height = 1080 -- The window height (number),
  7. --16 by 9
  8. t.modules.headset = false
  9. t.graphics.stencil = true
  10. --t.graphics.debug = true -- This breaks it
  11. -- additional window parameters , not useful for now till i get window module fixed
  12. t.window.fullscreentype = "desktop" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
  13. t.window.x = 0 -- The x-coordinate of the window's position in the specified display (number)
  14. t.window.y = 0 -- The y-coordinate of the window's position in the specified display (number)
  15. t.window.minwidth = 711 -- Minimum window width if the window is resizable (number)
  16. t.window.minheight = 400 -- Minimum window height if the window is resizable (number)
  17. --t.window.display = 2 -- Index of the monitor to show the window in (number)
  18. -- t.window.centered = true -- Align window on the center of the monitor (boolean)
  19. t.window.topmost = true -- Show window on top (boolean)
  20. t.window.borderless = false -- Remove all border visuals from the window (boolean)
  21. t.window.resizable = true -- Let the window be user-resizable (boolean)
  22. t.window.opacity = 1 -- Window opacity value (number)
  23. conf = t.window
  24. end