Skip to content

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.

Terminal window
% ./plume3d apps/toml_editor

Standalone, 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)”
Terminal window
% ./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.)

  • Loads game.toml with Config.load and 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.
  • Configload, 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.