TOML Editor
App: apps/toml_editor/
A GUI editor for a project’s game.toml. Round-trips the whole documented schema —
[Game], [Window], [Physics] (tag layers, collision layers, collision matrix),
and [[channels]] — through Config.load and Config.save, with a drag-paintable
collision-matrix grid.
Run from root
Section titled “Run from root”% ./plume3d apps/toml_editorStandalone, the editor loads and saves its own game.toml.
Edit another app’s game.toml (tool mode)
Section titled “Edit another app’s game.toml (tool mode)”% ./plume3d --tool apps/toml_editor apps/my_game--tool runs the editor’s main.wren with apps/my_game mounted as the data
directory, so Config.load/Config.save read and write that project’s
game.toml — a reusable in-engine editor. (Tool mode is new and its full
documentation is pending; see Documentation Status.)
What it does
Section titled “What it does”- Loads
game.tomlwithConfig.loadand parses the[Game],[Window],[Physics], and[[channels]]sections into editable fields. - Physics layers — edit tag-layer and collision-layer names; toggle collision-matrix pairs on a grid, with drag-paint to set many cells in one stroke.
- Audio channels — edit
[[channels]]entries (name, path, frequency). - Save serializes the schema back to TOML and writes it with
Config.save.
- Config —
load,save. - Gui — windows, layouts, labels, buttons, edit fields, checkboxes.
- Input — mouse state for the drag-paint grid.
- Window, Logger.
See Configuration (game.toml) for what each section means.