<p>Editing map tiles takes place in Porymap’s Main Window. The map is laid out in a grid of what are called “metatiles”. The editing basic flow is to make a metatile selection, and then paint that metatile selection onto the map.</p>
<divclass="section"id="visual-options">
<h2>Visual Options<aclass="headerlink"href="#visual-options"title="Permalink to this headline">¶</a></h2>
<p>Before getting into the details of editing map tiles, you should be aware of some settings that make your life easier.</p>
<p>A grid can be displayed over the editable map area by using the <codeclass="docutils literal notranslate"><spanclass="pre">Grid</span></code> checkbox, which is located in the toolbar above the map area.</p>
<p>The border’s visibility, including the surrounding map connections, can be toggled with the <codeclass="docutils literal notranslate"><spanclass="pre">Border</span></code> checkbox, which is located in the toolbar above the map area.</p>
<p>You can zoom in and out on the map with <em>View -> Zoom In</em> (<codeclass="docutils literal notranslate"><spanclass="pre">Ctrl++</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl+Mouse</span><spanclass="pre">Wheel</span><spanclass="pre">Scroll</span><spanclass="pre">Up</span></code>) and <em>View -> Zoom Out</em> (<codeclass="docutils literal notranslate"><spanclass="pre">Ctrl+-</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl+Mouse</span><spanclass="pre">Wheel</span><spanclass="pre">Scroll</span><spanclass="pre">Down</span></code>).</p>
<p>By default, the mouse cursor will show a white indicator outline of the currently-hovered tile(s) of what will be painted. You can disable this outline with <em>View -> Cursor Tile Outline</em>. Additionally, the cursor changes its appearance depending on which tool you currently have selected in the toolbar. You can disable this with <em>View -> Cursor Icons</em>.</p>
<p>An indicator outline for the player’s in-game view radius can be toggled with <em>View -> Player View Rectangle</em>.</p>
<p>The Metatile Selection Pane can be zoomed in or out using the slider on the bottom.</p>
<pclass="caption"><spanclass="caption-text">Metatile Selection Zoom Slider</span><aclass="headerlink"href="#id4"title="Permalink to this image">¶</a></p>
<h2>Selecting Metatiles<aclass="headerlink"href="#selecting-metatiles"title="Permalink to this headline">¶</a></h2>
<p>Before you paint onto the map, you need to select which metatiles you will be painting. The primary way to do this is to click on a metatile from the Metatile Selection Pane. Whenever you change your selection, the selection preview will update so you can see exactly what you have selected at all times.</p>
<p>You can select more than one tile at a time by clicking and dragging the desired region. For example, it’s convenient to select the entire Pokémon Center at once.</p>
<p>Metatiles can also be selected from existing metatiles on the map area. Use the Eyedropper Tool with <em>Tools -> Eyedropper</em> (<codeclass="docutils literal notranslate"><spanclass="pre">E</span></code>), or simply click the Eyedropper button <imgalt="eyedropper-tool"src="../_images/eyedropper-tool.png"/> in the toolbar above the map area. A more powerful way to do this is to right-click on the map when using the Pencil Tool or Bucket Fill Tool. You can even right-click and drag to copy a region from the map. In this example GIF, we demonstrate how quick and easy it is to use the right-click method to copy and paint metatiles.</p>
<pclass="caption"><spanclass="caption-text">Right-Click Metatile Selection</span><aclass="headerlink"href="#id7"title="Permalink to this image">¶</a></p>
<p>Now, let’s learn how to use the various tools to paint your metatile selection onto the map.</p>
</div>
<divclass="section"id="pencil-tool">
<h2>Pencil Tool<aclass="headerlink"href="#pencil-tool"title="Permalink to this headline">¶</a></h2>
<p>The Pencil Tool <imgalt="pencil-tool"src="../_images/pencil-tool.png"/> (<em>Tools -> Pencil</em>, or <codeclass="docutils literal notranslate"><spanclass="pre">N</span></code>) is your bread and butter when editing maps. Simply left-click to paint your current metatile selection onto the map. You can click and drag to paint a bigger portion of the map. When clicking and dragging, the metatiles will be painted as if they are snapping to a grid. This simplifies things like painting large areas of trees.</p>
<pclass="caption"><spanclass="caption-text">Painting a Large Metatile Selection</span><aclass="headerlink"href="#id8"title="Permalink to this image">¶</a></p>
<h2>Pointer Tool<aclass="headerlink"href="#pointer-tool"title="Permalink to this headline">¶</a></h2>
<p>The Pointer Tool <imgalt="pointer-tool"src="../_images/pointer-tool.png"/> (<em>Tools -> Pointer</em>, or <codeclass="docutils literal notranslate"><spanclass="pre">P</span></code>) doesn’t do anything. It just allows you to click on the map without painting anything.</p>
</div>
<divclass="section"id="bucket-fill-tool">
<h2>Bucket Fill Tool<aclass="headerlink"href="#bucket-fill-tool"title="Permalink to this headline">¶</a></h2>
<p>The Bucket Fill Tool <imgalt="bucket-fill-tool"src="../_images/bucket-fill-tool.png"/> (<em>Tools -> Bucket Fill</em>, or <codeclass="docutils literal notranslate"><spanclass="pre">B</span></code>) works just like you think it does. It fills a contiguous region of identical metatiles. If you have a large metatile selection, it will fill the region with that pattern. A useful shortcut for the Bucket Fill Tool is to middle-click when using the Pencil Tool.</p>
<pclass="caption"><spanclass="caption-text">Painting with Bucket Fill Tool</span><aclass="headerlink"href="#id9"title="Permalink to this image">¶</a></p>
<p>Holding down the <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl</span></code> key while using the Bucket Fill Tool will fill <em>all</em> matching metatiles on the map, rather that just the contiguous region.</p>
<h2>Map Shift Tool<aclass="headerlink"href="#map-shift-tool"title="Permalink to this headline">¶</a></h2>
<p>The Map Shift Tool <imgalt="map-shift-tool"src="../_images/map-shift-tool.png"/> (<em>Tools -> Map Shift</em>, or <codeclass="docutils literal notranslate"><spanclass="pre">S</span></code>) lets you shift the metatile positions of the entire map at the same time. This is useful after resizing a map. (Though, simply right-click copying the entire map is another way of accomplishing the same thing.) Metatiles are wrapped around to the other side of the map when using the Map Shift Tool. Simply click and drag on the map to perform the map shift.</p>
<h2>Smart Paths<aclass="headerlink"href="#smart-paths"title="Permalink to this headline">¶</a></h2>
<p>Smart Paths provide an easy way to paint pathways, ponds, and mountains. If there is any formation of metatiles that have a basic outline and a “middle” tile, then smart paths can help save you time when painting. <strong>Smart Paths can only be used when you have a 3x3 metatile selection.</strong> Smart Paths is only available when using the Pencil Tool or the Bucket Fill Tool. To enable Smart Paths, you must either check the Smart Paths checkbox above the map area, or you can hold down the <codeclass="docutils literal notranslate"><spanclass="pre">Shift</span></code> key. Below are a few examples that illustrate the power of Smart Paths.</p>
<pclass="caption"><spanclass="caption-text">Bucket Fill with Smart Paths</span><aclass="headerlink"href="#id12"title="Permalink to this image">¶</a></p>
<pclass="caption"><spanclass="caption-text">Smart Paths from Right-Click Selection</span><aclass="headerlink"href="#id13"title="Permalink to this image">¶</a></p>
<p>The dimensions of the map’s border can also be adjusted for pokefirered projects via the <codeclass="docutils literal notranslate"><spanclass="pre">Change</span><spanclass="pre">Dimensions</span></code> button. If you have modified your pokeemerald or pokeruby project to support custom border sizes you can enable this option with the <codeclass="docutils literal notranslate"><spanclass="pre">use_custom_border_size</span></code> field in your project’s <codeclass="docutils literal notranslate"><spanclass="pre">porymap.project.cfg</span></code> file.</p>
<h2>Undo & Redo<aclass="headerlink"href="#undo-redo"title="Permalink to this headline">¶</a></h2>
<p>When painting metatiles, you can undo and redo actions you take. This makes it very easy to fix mistakes or go back in time. Undo can be performed with <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl+Z</span></code> or <em>Edit -> Undo</em>. Redo can be performed with <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl+Y</span></code> or <em>Edit -> Redo</em>.</p>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.