Editor

This page is a stub. You can help by expanding it.

The **Editor** is a system where players are able to create and save custom-made maps. It is accessible from the main menu.

## Map Selection

Upon clicking or tapping the editor button, the player will be greeted with all of the maps they have created, as well as all maps that come pre-made for custom games. To edit a map, click or tap the *Open in Editor* button. The *Delete* button will delete the map - the game will confirm whether you truly want to delete it before doing so.

Creating a map will also immediately jump into the editor, with a 200x200 square map consisting only of stone floors.

Maps can be imported from .msav files on the player's device. Doing this will add it to the map selection interface without entering the editor immediately.

## Map Editor

Once you enter the editor, you will be presented with an interface like the one to the right. Here, you can change the terrain of the map and add in player-made blocks at a limited capacity. The editor has a wide array of tools provided to edit the map.

To move the camera around and zoom in/out, use the movement keys and the scroll function on a mouse or trackpad on desktop. On mobile, selecting the magnifying glass allows the player to move the camera by dragging with one finger and scroll in/out by pinching in/out with two. The block, ore or floor tile that is currently selected is displayed both as text and by a border around the icon on the right. The selected team is shown to the left, which is the team that blocks placed in the editor will be assigned to.

To save the map, the player can either open up the menu to save or use the desktop shortcut ctrl-S.

The editor itself can be though of as having three different layers: one for blocks, one for ores and one for the floor. If a floor tile is selected and is drawn over blocks, the block itself is not erased, the ore is erased and the floor underneath is changed. Wall ores can only be drawn on blocks and no ores can be placed on liquids or space with any brush.

Some tools will have additional configurations. These can be accessed in a dropdown by either tapping the selected tool again or right-clicking on it. Tapping or clicking the selected configuration again reverts it to the default configuration.

### List of Tools

* The **menu** button opens a menu for more actions on the map, including saving, automated generation, editing map info, importing/exporting and editing in-game.
* The **grid** button, indicated by a hastag, toggles a grid that outlines each individual block. This is useful for measuring exact distances.
* The **magnfiying glass** button, allows players on mobile and desktop to drag and scroll the camera without adding any blocks.
* The **undo and redo** buttons allow a player to undo or redo actions, like other art programs.
* The **eyedropper** changes the selected block or tile to a new tile that is clicked or tapped. If a block or wall is overriding the floor tile, it is selected.
* The **line** tool draws a straight line from one point to another.
	+ **Replace** makes it only draw on and override solid blocks and walls if a solid block is selected.
	+ **Orthogonal** only allows the tool to draw orthogonal (up, right, down, left) lines.
* The **pencil** tool draws based on the movements of the finger or cursor.
	+ **Replace** makes it only draw on and override solid blocks and walls if a solid block is selected.
	+ **Square** makes it draw using a square instead of a circle, starting at 3x3 in size.
	+ **Draw Teams** changes the team of all blocks that are drawn over, without changing any tiles or blocks.
* The **eraser** tool erases blocks and walls, leaving the floor and ores underneath.
	+ **Erase Ores** makes the eraser only erase ores.
* The **fill** tool changes all blocks, ores or tiles that are in a group. If there is no block or ore and one is selected, it will fill an enclosed empty space. If not enclosed, it will fill the entire map.
	+ **Replace All** replaces all of one block, ore or tile with another in the same group.
	+ **Fill Teams** changes the team of groups of blocks.
* The **spray paint** tool draws like the pencil, but has a fuzzy and noisy texture.
	+ **Replace** makes it only drawn on and override solid blocks and walls if a solid block is selected.
* The **direction** tool determines the direction of orientable blocks placed in the editor, such as Conveyors. Tapping on it rotates it counterclockwise.