![]() ![]() msaa = 0 - The number of samples to use with multi-sampled antialiasing (number) t. vsync = 1 - Vertical sync mode (number) t. ![]() fullscreentype = "desktop" - Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string) t. ![]() fullscreen = false - Enable fullscreen (boolean) t. ![]() minheight = 1 - Minimum window height if the window is resizable (number) t. minwidth = 1 - Minimum window width if the window is resizable (number) t. resizable = false - Let the window be user-resizable (boolean) t. borderless = false - Remove all border visuals from the window (boolean) t. height = 600 - The window height (number) t. width = 800 - The window width (number) t. icon = nil - Filepath to an image to use as the window's icon (string) t. title = "Untitled" - The window title (string) t. mixwithsystem = true - Keep background music playing when opening LOVE (boolean, iOS and Android only) t. mic = false - Request and use microphone capabilities in Android (boolean) t. gammacorrect = false - Enable gamma-correct rendering, when supported by the system (boolean) t. externalstorage = false - True to save files (and read from the save directory) in external storage on Android (boolean) t. accelerometerjoystick = true - Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean) t. console = false - Attach a console (boolean, Windows only) t. version = "11.4" - The LÖVE version this game was made for (string) t. appendidentity = false - Search files in source directory before save directory (boolean) t. identity = nil - The name of the save directory (string) t. If you want to change the default window size, for instance, do:įunction love. The nf function takes one argument: a table filled with all the default values which you can overwrite to your liking. It will not work if it's defined inside a, because it affects initialization that happens before a is loaded. nf must be defined inside a file named a. Using the nf function, you can set some configuration options, and change things such as the default size of the window, which modules are loaded, and other program setup-related options. You can use this file to overwrite the nf function, which is later called by the LÖVE 'boot' script. love file), it is run before the LÖVE modules are loaded. If a file called a is present in your game folder (or. 4.16 window.minwidth & window.minheight. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |