Skip to main content

Create a Config

To create a config simply run:

./el conf

or

touch config.lua

After that you should end up with the config.lua file.

If you didnt create it with the conf argument then you would need to do this:

config.lua
conf = {

}

So you have a valid empty config.

Config attributes

Here is an example of how a config file could look like:

config.lua
conf = {
name = "Best Game", -- Default set to Game
fps = 60, -- Default set to 60
terminal = false, -- Default set to false
}

And what the default value is if you dont set it.