A basic love2D game core

conf.lua 3.4KB

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