Skip to content

kaledis.toml

The kaledis.toml file is the heart of your project configuration. It replaces the traditional conf.lua.

"$schema" = "./kaledis.schema.json"

The schema enables autocompletion and validation in editors like VS Code.

OptionTypeDescription
experimental_hmrbooleanEnables Hot Module Replacement (HMR) for faster development iteration.

Configures global project settings.

KeyTypeDefaultDescription
namestring"Untitled"The name of your project. Used for window title if not specified, and build artifacts.
love_pathstring(Auto-detected)Path to the love.exe executable or directory.
asset_pathstringNonePath to your assets directory (e.g., "assets").
src_pathstringNonePath to your source code directory (e.g., "src").
detect_modulesbooleanfalseIf true, automatically detects used Love2D modules.
modulesstring[]AllManual list of Love2D modules to enable (e.g., ["graphics", "audio"]) if detect_modules is false.
entry_pointstring"main"The main entry file (without extension).

Configures the game window.

KeyTypeDefaultDescription
titlestring"Untitled"The window title.
iconstringNonePath to the window icon file.
widthinteger800Window width.
heightinteger600Window height.
resizablebooleanfalseWhether the window is resizable.
min_widthinteger1Minimum window width.
min_heightinteger1Minimum window height.
fullscreenbooleanfalseWhether to start in fullscreen mode.
vsyncbooleantrueVertical sync.

Configures audio settings.

KeyTypeDefaultDescription
mixwithsystembooleantrueWhether audio mixes with the system audio.
micbooleanfalseRequest microphone permission (Android/Mobile).