Advertisement
ItsNoah

love conf template

Feb 21st, 2023
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.73 KB | None | 0 0
  1. function love.conf(t)
  2.  
  3.     t.title = "Test"          -- The title of the window the game is in (string)
  4.     t.author = "NAME"         -- The author of the game (string)
  5.  
  6.     -- t.window.width = 1280;
  7.     -- t.window.height = 720;
  8.     t.window.width = 1920;
  9.     t.window.height = 1080;
  10.  
  11.     t.modules.audio = false              -- Enable the audio module (boolean)
  12.     t.modules.data = true               -- Enable the data module (boolean)
  13.     t.modules.event = true              -- Enable the event module (boolean)
  14.     t.modules.font = true               -- Enable the font module (boolean)
  15.     t.modules.graphics = true           -- Enable the graphics module (boolean)
  16.     t.modules.image = true              -- Enable the image module (boolean)
  17.     t.modules.joystick = false           -- Enable the joystick module (boolean)
  18.     t.modules.keyboard = true           -- Enable the keyboard module (boolean)
  19.     t.modules.math = true               -- Enable the math module (boolean)
  20.     t.modules.mouse = true              -- Enable the mouse module (boolean)
  21.     t.modules.physics = false            -- Enable the physics module (boolean)
  22.     t.modules.sound = false              -- Enable the sound module (boolean)
  23.     t.modules.system = true             -- Enable the system module (boolean)
  24.     t.modules.thread = true             -- Enable the thread module (boolean)
  25.     t.modules.timer = true              -- Enable the timer module (boolean), Disabling it will result 0 delta time in love.update
  26.     t.modules.touch = false              -- Enable the touch module (boolean)
  27.     t.modules.video = true              -- Enable the video module (boolean)
  28.     t.modules.window = true             -- Enable the window module (boolean)
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement