Module settings

The module containing the Micro2D engine settings.

Info:

  • Author: Sharper Dev

Tables

Settings.SCENES Ordered paths to scene scripts; the scenes system loads scenes by index.

Fields

Settings.ASSETS_PATH Prefix used to resolve game asset scripts through package.path.


Tables

Settings.SCENES
Ordered paths to scene scripts; the scenes system loads scenes by index. Paths must identify Lua scene scripts.

Usage:

    Settings.SCENES[1] = "romfs:/assets/scripts/scenes/sample_scene.lua"

Fields

Settings.ASSETS_PATH
Prefix used to resolve game asset scripts through package.path. Include a trailing slash in the path.

Usage:

    Settings.ASSETS_PATH = "romfs:/assets/"
generated by LDoc 1.5.0 Last updated 2026-10-04 12:53:32