factoriax.playground.editor#
The level editor.
The editor reads and writes a Level. It
holds the level in an EditorState
while the user edits it.
Start the editor with python -m factoriax.playground.editor.
This module holds no imports, so the engine import path never pulls in pygame. Import from the defining module instead.
Modules
The camera and the tile drawing of the editor canvas. |
|
The dialogs of the level editor. |
|
The inventory panel, at the right edge of the editor. |
|
The main loop of the level editor. |
|
The slot layout that the editor draws for each machine. |
|
The level under edit, as mutable numpy arrays. |
|
Sidebar toolbar, menu bar, and status bar for the level editor. |