Skip to content

File structure

Ajakilas edited this page Mar 29, 2026 · 2 revisions

The file must contain at least 2 (optionally 3) essential parts:

1. Import the library:

local liblgd = require("liblgd")

2. Define the main build function:

liblgd.main(function()

end)

3. Call the build function (specify any output filename you want):

liblgd.build("your_filename.gmd")

When u done with making script, just run it and u see a 2 files: debug_level_string.txt and <your_filename>.gmd, in game import only .gmd

Clone this wiki locally