conf.lua 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. _ScreenScale = tonumber(os.getenv("LIKO_SCALE") or 3)
  2. function love.conf(t)
  3. t.identity = "liko12" -- The name of the save directory (string)
  4. t.version = "0.10.1" -- The LÖVE version this game was made for (string)
  5. t.console = false -- Attach a console (boolean, Windows only)
  6. t.accelerometerjoystick = false -- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean)
  7. t.externalstorage = true -- True to save files (and read from the save directory) in external storage on Android (boolean)
  8. t.gammacorrect = false -- Enable gamma-correct rendering, when supported by the system (boolean)
  9. t.window.title = "Liko 12" -- The window title (string)
  10. t.window.icon = "icon.png" -- Filepath to an image to use as the window's icon (string)
  11. t.window.width = 192*_ScreenScale -- The window width (number)
  12. t.window.height = 128*_ScreenScale -- The window height (number)
  13. t.window.borderless = false -- Remove all border visuals from the window (boolean)
  14. t.window.resizable = true -- Let the window be user-resizable (boolean)
  15. t.window.minwidth = 1 -- Minimum window width if the window is resizable (number)
  16. t.window.minheight = 1 -- Minimum window height if the window is resizable (number)
  17. t.window.fullscreen = false -- Enable fullscreen (boolean)
  18. t.window.fullscreentype = "desktop" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
  19. t.window.vsync = true -- Enable vertical sync (boolean)
  20. t.window.msaa = 0 -- The number of samples to use with multi-sampled antialiasing (number)
  21. t.window.display = 1 -- Index of the monitor to show the window in (number)
  22. t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean)
  23. t.window.x = nil -- The x-coordinate of the window's position in the specified display (number)
  24. t.window.y = nil -- The y-coordinate of the window's position in the specified display (number)
  25. t.modules.audio = false -- Enable the audio module (boolean)
  26. t.modules.event = true -- Enable the event module (boolean)
  27. t.modules.graphics = true -- Enable the graphics module (boolean)
  28. t.modules.image = true -- Enable the image module (boolean)
  29. t.modules.joystick = false -- Enable the joystick module (boolean)
  30. t.modules.keyboard = true -- Enable the keyboard module (boolean)
  31. t.modules.math = true -- Enable the math module (boolean)
  32. t.modules.mouse = true -- Enable the mouse module (boolean)
  33. t.modules.physics = false -- Enable the physics module (boolean)
  34. t.modules.sound = true -- Enable the sound module (boolean)
  35. t.modules.system = true -- Enable the system module (boolean)
  36. t.modules.timer = true -- Enable the timer module (boolean), Disabling it will result 0 delta time in love.update
  37. t.modules.touch = true -- Enable the touch module (boolean)
  38. t.modules.video = false -- Enable the video module (boolean)
  39. t.modules.window = true -- Enable the window module (boolean)
  40. t.modules.thread = false -- Enable the thread module (boolean)
  41. end