RUSTICDOCSSearch documentation

Editor overview

The Rustic editor is a native application for authoring scenes and running gameplay. Docs v0.1 is the documentation edition; it is separate from Script API 1.0/1.1. Start with an installed editor and runtime, or follow the source setup if you are building Rustic yourself.

Open and save a project

Prerequisites: a working desktop graphics session and a writable project location.

  1. In Project Manager, choose New project, enter a name and location, choose a template, then Create project. For an existing project, choose Import…, select its location, and Import project.
  2. Choose Open project. The editor shows the project name in the toolbar. A locked project may open read-only; the READ ONLY indicator means authoring changes cannot be saved.
  3. Use Scene Explorer for objects and Explorer for files. Select an object to show its properties in Properties (the Inspector). The settings gear at the top right of either explorer opens Change scene, which loads another scene with its objects and environment. Right-click a scene in that list for Rename and Set as start scene; the start choice is saved for the next project opening.
  4. Save with File → Save scene. Check Console for Scene saved transactionally or a save error. Game Settings exposes autosave; when enabled, changed scenes are saved automatically, with a periodic save check at 30 seconds.

Expected result: your project opens with its scene, and a successful save persists authored changes. Save explicitly before closing or copying a project.

Rustic Editor showing Cube properties on the left, its move gizmo in the center, and Scene Explorer on the right.The native Rustic workspace with the sample Cube selected.

Layout, panels and toolbar

The workspace includes 3D/2D viewports and separate Scene Explorer, Explorer, Properties (Inspector), and Terminal (Console) dock tabs. Scene Explorer and Explorer initially share a tab group, but each can be moved independently.

  1. Press and hold a panel's tab header, then drag it to another tab bar to group it there.
  2. Drag toward a panel edge and release on the docking preview to split the space and show both panels at once.
  3. Drag tabs along a tab bar to reorder them. Even a panel alone in a split keeps its tab header.

Expected result: you can keep the scene tree, files, selected object's properties, and runtime logs visible in your preferred arrangement. Terminal retains the runtime log filters, Copy and Clear controls; it is not a shell prompt. Panel docking does not change scene data or undo history.

View → Reset dock layout restores the default arrangement if you lose track of a panel. View includes egui's built-in dark/light/system theme controls, includes checked toggles under Panels for 3D Viewport, 2D Viewport, Scene Graph, Scene Explorer, Explorer, Properties, and Terminal, and offers Inspector on native viewport. Workspace preferences persist, but arbitrary dock geometry currently resets when reopening a project. Older combined Project workspaces receive separate scene and file panes automatically.

To hide a panel, open View and clear its checkbox under Panels. Check it again to restore and select its tab in the same dock group. An inactive tab in a group remains checked: the checkbox controls whether it is available, not whether it is the selected tab. Panel visibility is saved when the editor closes and restored the next time you open the project. Hiding every panel leaves an empty workspace; the View menu remains available. Reset dock layout clears hidden-panel choices and restores the default arrangement of the enabled panels.

Choose View → Light for light panel backgrounds and dark text, Dark for dark backgrounds, or System to follow the operating system's appearance. The background follows the selected theme throughout the dock workspace, including empty panels and split gaps. Rendered scene colors follow the scene's settings.

File contains scene saving, Game Settings and renderer refresh. Edit provides Undo/Redo. Programming creates and attaches scripts, opens an external code editor, and offers Reload Scripts/Restart Play while running. Move, Rotate and Scale select the gizmo operation. The Play toolbar controls runtime sessions.

The editor and Project Manager use standard egui widgets and built-in themes. Panel docking uses egui_tiles, transform handles use transform-gizmo, and Scene Graph uses egui-snarl.

View the scene as a graph

  1. Open a project and choose View → Scene Graph.
  2. Each scene entity appears as a node. Wires run from a parent's Children pin to its child's Parent pin.
  3. Click a node's name to select its entity in Inspector. Drag node headers to arrange the view; use egui-snarl's canvas pan and zoom gestures to navigate.
  4. Create, rename, delete, or reparent objects in Scene Explorer. Return to Scene Graph to see the updated hierarchy.

Expected result: the graph reflects the loaded scene and shares Inspector selection. An empty scene displays guidance to add an object. Graph node positions last while the scene remains loaded; wire gestures do not change parenting. Use the Project scene tree to change parent links and the normal Undo/Redo menu to undo those edits. This view does not execute visual scripts.

Interface controls, folders and non-script file types use bundled Lucide icons. Script and programming-language icons keep their existing designs. Move, Rotate, Scale and playback controls still have text labels. Icons work offline without installing a font or downloading an icon pack.

Focused workflows

Known limitations

Scripts open in an external editor, rather than an embedded code panel. A panel label or legacy workspace schema does not establish an implemented control. The focused guides describe controls verified in Engine/apps/editor/src/main.rs and the authoring document model.

Build distributable output from File → Build Project…. See Build and distribute a project for Windows games, static websites, and Android template requirements. For C# or HTML/CSS/JavaScript setup interfaces, see Custom installer UI.