Skip to content
Ludens Ludens Ludens 0.3.0

Shared Configuration

Shared configuration properties are managed through ludens.properties in the project root. These settings affect the core application logic and the user interface across all platforms.

Ludens uses presets to simplify the initial configuration. You can choose from several built-in presets or use the custom name to define your own behavior.

Edit your ludens.properties:

# Selects the active preset
ludens.settings.presetName=recommended

The following property is configured under the ludens.settings.* prefix:

PropertyDefaultValuesDescription
presetNamerecommendedrecommended, noactions, nocontrols, minimalist, customSelects the active preset logic.
NameBehavior
recommended(Default) Balanced setup with on-screen controls and quick actions enabled.
noactionsDisables the quick actions panel but keeps on-screen controls.
nocontrolsDisables on-screen controls but keeps the quick actions panel for navigation.
minimalistMaximum screen space: disables both controls and quick actions by default.
customIgnores built-in logic and uses the custom preset properties defined below.

The following properties are only consumed when ludens.settings.presetName is set to custom. They allow you to fine-tune the game’s default state:

# Custom preset overrides
ludens.settings.preset.toolMuted=false
ludens.settings.preset.toolShowFps=false
ludens.settings.preset.toolUseWebgl=false
ludens.settings.preset.controlEnabled=true
ludens.settings.preset.controlAlpha=0.4
ludens.settings.preset.actionEnabled=false
ludens.settings.preset.actionItems=settings
ludens.settings.preset.systemTheme=system
ludens.settings.preset.systemLanguage=system

These properties use the ludens.settings.preset.* prefix:

PropertyTypeDefaultValues / Description
toolMutedBooleanfalseDefault audio mute state (true, false).
toolShowFpsBooleanfalseDefault visibility for the FPS counter.
toolUseWebglBooleanfalseDefault WebGL switch state (MV only).
controlEnabledBooleantrueDefault state for the virtual controls overlay.
controlAlphaFloat0.4Virtual control opacity (0.0 to 1.0).
actionEnabledBooleanfalseDefault visibility for the quick actions panel.
actionItemsListsettingsComma-separated items: settings, controls, mute, fps, webgl.
systemThemeStringsystemDefault theme: system, light, dark.
systemLanguageStringsystemDefault language: system, en, es.