2022-09-10 19:08:48 +01:00
<!DOCTYPE html>
2023-01-22 18:02:00 +00:00
< html class = "writer-html5" lang = "en" >
2022-09-10 19:08:48 +01:00
< head >
2023-02-11 15:49:16 +00:00
< meta charset = "utf-8" / > < meta name = "generator" content = "Docutils 0.18.1: http://docutils.sourceforge.net/" / >
2023-01-22 18:02:00 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
2022-11-03 15:33:06 +00:00
< title > The Tileset Editor — porymap documentation< / title >
2023-02-11 15:49:16 +00:00
< link rel = "stylesheet" href = "../_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/css/custom.css" type = "text/css" / >
< link rel = "shortcut icon" href = "../_static/porymap-icon-2.ico" / >
2023-01-22 18:02:00 +00:00
<!-- [if lt IE 9]>
< script src = "../_static/js/html5shiv.min.js" > < / script >
<![endif]-->
2022-11-03 22:49:03 +00:00
2023-02-11 15:49:16 +00:00
< script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" > < / script >
2023-01-22 18:02:00 +00:00
< script data-url_root = "../" id = "documentation_options" src = "../_static/documentation_options.js" > < / script >
2022-09-10 19:08:48 +01:00
< script src = "../_static/doctools.js" > < / script >
2023-01-22 18:02:00 +00:00
< script src = "../_static/sphinx_highlight.js" > < / script >
2023-02-11 15:49:16 +00:00
< script src = "../_static/js/theme.js" > < / script >
2022-09-10 19:08:48 +01:00
< link rel = "index" title = "Index" href = "../genindex.html" / >
< link rel = "search" title = "Search" href = "../search.html" / >
< link rel = "next" title = "Scripting Capabilities" href = "scripting-capabilities.html" / >
< link rel = "prev" title = "The Region Map Editor" href = "region-map-editor.html" / >
< / head >
2023-02-11 15:49:16 +00:00
< body class = "wy-body-for-nav" >
2022-09-10 19:08:48 +01:00
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" style = "background: linear-gradient(180deg, #08ACD5 50%, #FF6262 0%);" >
2022-11-03 22:49:03 +00:00
2023-02-11 15:49:16 +00:00
< a href = "../index.html" class = "icon icon-home" >
porymap
2022-09-10 19:08:48 +01:00
< / a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
2023-02-11 15:49:16 +00:00
< input type = "text" name = "q" placeholder = "Search docs" aria-label = "Search docs" / >
2022-09-10 19:08:48 +01:00
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
2023-02-11 15:49:16 +00:00
< / div > < div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Navigation menu" >
2023-01-22 18:02:00 +00:00
< p class = "caption" role = "heading" > < span class = "caption-text" > User Manual< / span > < / p >
2022-09-10 19:08:48 +01:00
< ul class = "current" >
< li class = "toctree-l1" > < a class = "reference internal" href = "introduction.html" > Introduction< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "introduction.html#about-porymap" > About Porymap< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "introduction.html#getting-started" > Getting Started< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "navigation.html" > Navigation< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "navigation.html#map-list" > Map List< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "navigation.html#main-window" > Main Window< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "navigation.html#tileset-editor" > Tileset Editor< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "navigation.html#region-map-editor" > Region Map Editor< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-map-tiles.html" > Editing Map Tiles< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#visual-options" > Visual Options< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#selecting-metatiles" > Selecting Metatiles< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#pencil-tool" > Pencil Tool< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#pointer-tool" > Pointer Tool< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#bucket-fill-tool" > Bucket Fill Tool< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#map-shift-tool" > Map Shift Tool< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#smart-paths" > Smart Paths< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#straight-paths" > Straight Paths< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#change-map-border" > Change Map Border< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#change-map-tilesets" > Change Map Tilesets< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#undo-redo" > Undo & Redo< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-tiles.html#prefabs" > Prefabs< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-map-collisions.html" > Editing Map Collisions< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-collisions.html#selecting-collision-types" > Selecting Collision Types< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-collisions.html#painting-collisions" > Painting Collisions< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-collisions.html#collision-types" > Collision Types< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-map-events.html" > Editing Map Events< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#adding-deleting-events" > Adding & Deleting Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#event-positions" > Event Positions< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#object-events" > Object Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#clone-object-events" > Clone Object Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#warp-events" > Warp Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#trigger-events" > Trigger Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#weather-trigger-events" > Weather Trigger Events< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#sign-event" > Sign Event< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#hidden-item-event" > Hidden Item Event< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#secret-base-event" > Secret Base Event< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#heal-location-healspots" > Heal Location / Healspots< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#open-map-scripts" > Open Map Scripts< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#tool-buttons" > Tool Buttons< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-events.html#ruler-tool" > Ruler Tool< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-map-header.html" > Editing Map Headers< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-map-connections.html" > Editing Map Connections< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-connections.html#dive-emerge-warps" > Dive & Emerge Warps< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-connections.html#mirror-connections" > Mirror Connections< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-map-connections.html#follow-connections" > Follow Connections< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "editing-wild-encounters.html" > Editing Wild Encounters< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-wild-encounters.html#adding-new-encounter-groups" > Adding New Encounter Groups< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "editing-wild-encounters.html#configuring-the-wild-encounter-fields" > Configuring the Wild Encounter Fields< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "creating-new-maps.html" > Creating New Maps< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "creating-new-maps.html#new-map-options" > New Map Options< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "region-map-editor.html" > The Region Map Editor< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "region-map-editor.html#background-image-tab" > Background Image Tab< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "region-map-editor.html#map-layout-tab" > Map Layout Tab< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "region-map-editor.html#map-entries-tab" > Map Entries Tab< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1 current" > < a class = "current reference internal" href = "#" > The Tileset Editor< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "#metatile-properties" > Metatile Properties< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "#layer-type" > Layer Type< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#metatile-behavior" > Metatile Behavior< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#encounter-type" > Encounter Type< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#terrain-type" > Terrain Type< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#metatile-label" > Metatile Label< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "#tools-menu" > Tools Menu< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "#import-tiles-image" > Import Tiles Image…< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#import-metatiles-from-advance-map-1-92" > Import Metatiles from Advance Map 1.92…< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#change-number-of-metatiles" > Change Number of Metatiles< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "#other-tools" > Other Tools< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "#palette-editor" > Palette Editor< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "scripting-capabilities.html" > Scripting Capabilities< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "scripting-capabilities.html#writing-a-custom-script" > Writing a Custom Script< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "scripting-capabilities.html#registering-script-actions" > Registering Script Actions< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "scripting-capabilities.html#scripting-api" > Scripting API< / a > < ul >
2023-01-22 18:02:00 +00:00
< li class = "toctree-l3" > < a class = "reference internal" href = "scripting-capabilities.html#callbacks" > Callbacks< / a > < ul >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onProjectOpened" > < code class = "docutils literal notranslate" > < span class = "pre" > onProjectOpened()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onProjectClosed" > < code class = "docutils literal notranslate" > < span class = "pre" > onProjectClosed()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onMapOpened" > < code class = "docutils literal notranslate" > < span class = "pre" > onMapOpened()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBlockChanged" > < code class = "docutils literal notranslate" > < span class = "pre" > onBlockChanged()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBorderMetatileChanged" > < code class = "docutils literal notranslate" > < span class = "pre" > onBorderMetatileChanged()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBlockHoverChanged" > < code class = "docutils literal notranslate" > < span class = "pre" > onBlockHoverChanged()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBlockHoverCleared" > < code class = "docutils literal notranslate" > < span class = "pre" > onBlockHoverCleared()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onMapResized" > < code class = "docutils literal notranslate" > < span class = "pre" > onMapResized()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBorderResized" > < code class = "docutils literal notranslate" > < span class = "pre" > onBorderResized()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onMapShifted" > < code class = "docutils literal notranslate" > < span class = "pre" > onMapShifted()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onTilesetUpdated" > < code class = "docutils literal notranslate" > < span class = "pre" > onTilesetUpdated()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onMainTabChanged" > < code class = "docutils literal notranslate" > < span class = "pre" > onMainTabChanged()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onMapViewTabChanged" > < code class = "docutils literal notranslate" > < span class = "pre" > onMapViewTabChanged()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#onBorderVisibilityToggled" > < code class = "docutils literal notranslate" > < span class = "pre" > onBorderVisibilityToggled()< / span > < / code > < / a > < / li >
< / ul >
< / li >
2022-09-10 19:08:48 +01:00
< li class = "toctree-l3" > < a class = "reference internal" href = "scripting-capabilities.html#functions" > Functions< / a > < ul >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#map-editing-functions" > Map Editing Functions< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#map-header-editing-functions" > Map Header Editing Functions< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#tileset-functions" > Tileset Functions< / a > < / li >
2023-01-22 18:02:00 +00:00
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#overlay-functions" > Overlay Functions< / a > < / li >
2022-09-10 19:08:48 +01:00
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#settings-functions" > Settings Functions< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#utility-functions" > Utility Functions< / a > < / li >
< / ul >
< / li >
2023-01-22 18:02:00 +00:00
< li class = "toctree-l3" > < a class = "reference internal" href = "scripting-capabilities.html#constants" > Constants< / a > < ul >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.max_primary_tiles" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.max_primary_tiles< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.max_secondary_tiles" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.max_secondary_tiles< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.max_primary_metatiles" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.max_primary_metatiles< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.max_secondary_metatiles" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.max_secondary_metatiles< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.layers_per_metatile" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.layers_per_metatile< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.tiles_per_metatile" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.tiles_per_metatile< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.base_game_version" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.base_game_version< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.version.major" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.version.major< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.version.minor" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.version.minor< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "scripting-capabilities.html#constants.version.patch" > < code class = "docutils literal notranslate" > < span class = "pre" > constants.version.patch< / span > < / code > < / a > < / li >
< / ul >
< / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "project-files.html" > Project Files< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "shortcuts.html" > Shortcuts< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "shortcuts.html#main-window" > Main Window< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "shortcuts.html#tileset-editor" > Tileset Editor< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "shortcuts.html#region-map-editor" > Region Map Editor< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "settings-and-options.html" > Porymap Settings< / a > < / li >
< / ul >
2023-01-22 18:02:00 +00:00
< p class = "caption" role = "heading" > < span class = "caption-text" > Reference< / span > < / p >
2022-09-10 19:08:48 +01:00
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../reference/changelog.html" > Changelog< / a > < ul >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#unreleased" > Unreleased< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#fixed" > Fixed< / a > < / li >
< / ul >
< / li >
2023-01-22 18:02:00 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id1" > 5.1.0 - 2023-01-22< / a > < ul >
2022-09-10 19:08:48 +01:00
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#added" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#changed" > Changed< / a > < / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id2" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id3" > 5.0.0 - 2022-10-30< / a > < ul >
2023-01-22 18:02:00 +00:00
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#breaking-changes" > Breaking Changes< / a > < / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id4" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id5" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id6" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id7" > 4.5.0 - 2021-12-26< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id8" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id9" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id10" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id11" > 4.4.0 - 2020-12-20< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id12" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id13" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id14" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id15" > 4.3.1 - 2020-07-17< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id16" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id17" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id18" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id19" > 4.3.0 - 2020-06-27< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id20" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id21" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id22" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id23" > 4.2.0 - 2020-06-06< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id24" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id25" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id26" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id27" > 4.1.0 - 2020-05-18< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id28" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id29" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id30" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id31" > 4.0.0 - 2020-04-28< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id32" > Breaking Changes< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id33" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id34" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id35" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id36" > 3.0.1 - 2020-03-04< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id37" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id38" > 3.0.0 - 2020-03-04< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id39" > Breaking Changes< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id40" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id41" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id42" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id43" > 2.0.0 - 2019-10-16< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id44" > Breaking Changes< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id45" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id46" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id47" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id48" > 1.2.2 - 2019-05-16< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id49" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id50" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id51" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id52" > 1.2.1 - 2019-02-16< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id53" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id54" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id55" > 1.2.0 - 2019-02-04< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id56" > Breaking Changes< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id57" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id58" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id59" > Fixed< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id60" > 1.1.0 - 2018-12-27< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id61" > Breaking Changes< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id62" > Added< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id63" > Changed< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../reference/changelog.html#id64" > Fixed< / a > < / li >
2023-01-22 18:02:00 +00:00
< / ul >
< / li >
2023-02-11 15:49:16 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "../reference/changelog.html#id65" > 1.0.0 - 2018-10-26< / a > < / li >
2022-09-10 19:08:48 +01:00
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../reference/related-projects.html" > Related Projects< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
2023-02-11 15:49:16 +00:00
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" > < nav class = "wy-nav-top" aria-label = "Mobile navigation menu" style = "background: linear-gradient(180deg, #08ACD5 50%, #FF6262 0%);" >
2022-09-10 19:08:48 +01:00
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../index.html" > porymap< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
2023-02-11 15:49:16 +00:00
< div role = "navigation" aria-label = "Page navigation" >
2022-09-10 19:08:48 +01:00
< ul class = "wy-breadcrumbs" >
2023-02-11 15:49:16 +00:00
< li > < a href = "../index.html" class = "icon icon-home" aria-label = "Home" > < / a > < / li >
< li class = "breadcrumb-item active" > The Tileset Editor< / li >
2022-09-10 19:08:48 +01:00
< li class = "wy-breadcrumbs-aside" >
< a href = "https://github.com/huderlem/porymap/blob/master/docsrc/manual/tileset-editor.rst" class = "fa fa-github" > Edit on GitHub< / a >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2023-02-11 15:49:16 +00:00
2023-01-22 18:02:00 +00:00
< section id = "the-tileset-editor" >
2023-02-11 15:49:16 +00:00
< span id = "tse-ref" > < / span > < h1 > The Tileset Editor< a class = "headerlink" href = "#the-tileset-editor" title = "Permalink to this heading" > < / a > < / h1 >
2022-09-10 19:08:48 +01:00
< p > Here, you can edit individual tilesets.
When the Tileset Editor is opened, it is opened in the context of the
currently-opened map. Every map has a primary and secondary tileset, so you
will work with a combination of the two whenever you use the Tileset Editor.
The left-side pane shows the primary and secondary tilesets’ metatiles.
The right-side panes allow you to modify the currently-selected metatile.< / p >
2023-01-22 18:02:00 +00:00
< figure class = "align-center" id = "id1" >
2022-09-10 19:08:48 +01:00
< a class = "reference internal image-reference" href = "../_images/tse-open-window.png" > < img alt = "TSE Window" src = "../_images/tse-open-window.png" style = "width: 75%;" / > < / a >
2023-01-22 18:02:00 +00:00
< figcaption >
2023-02-11 15:49:16 +00:00
< p > < span class = "caption-text" > Tileset Editor Window< / span > < a class = "headerlink" href = "#id1" title = "Permalink to this image" > < / a > < / p >
2023-01-22 18:02:00 +00:00
< / figcaption >
< / figure >
< section id = "metatile-properties" >
2023-02-11 15:49:16 +00:00
< h2 > Metatile Properties< a class = "headerlink" href = "#metatile-properties" title = "Permalink to this heading" > < / a > < / h2 >
2023-01-22 18:02:00 +00:00
< figure class = "align-center" id = "id2" >
2022-09-10 19:08:48 +01:00
< a class = "reference internal image-reference" href = "../_images/tse-metatile-properties.png" > < img alt = "MP Frame" src = "../_images/tse-metatile-properties.png" style = "width: 30%;" / > < / a >
2023-01-22 18:02:00 +00:00
< figcaption >
2023-02-11 15:49:16 +00:00
< p > < span class = "caption-text" > Metatile Properties Panel< / span > < a class = "headerlink" href = "#id2" title = "Permalink to this image" > < / a > < / p >
2023-01-22 18:02:00 +00:00
< / figcaption >
< / figure >
< section id = "layer-type" >
2023-02-11 15:49:16 +00:00
< h3 > Layer Type< a class = "headerlink" href = "#layer-type" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< p > Defines the background layers the metatiles will use for drawing.
The options are:< / p >
< p > < strong > Normal< / strong > — Metatile uses middle and top bg layers< / p >
< p > < strong > Covered< / strong > — Metatile uses bottom and middle bg layers< / p >
< p > < strong > Split< / strong > — Metatile uses bottom and top bg layers< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "metatile-behavior" >
2023-02-11 15:49:16 +00:00
< h3 > Metatile Behavior< a class = "headerlink" href = "#metatile-behavior" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< p > Defines the metatile behavior associated with this metatile. This can be used
for a variety of different reasons. For example, warps, ice, and tall grass effects
are all determined by a metatile’ s behavior.< / p >
< p > This dropdown is populated with constants found in < code class = "docutils literal notranslate" > < span class = "pre" > include/constants/metatile_behaviors.h< / span > < / code > .< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "encounter-type" >
2023-02-11 15:49:16 +00:00
< h3 > Encounter Type< a class = "headerlink" href = "#encounter-type" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< blockquote >
< div > < p > < em > pokefirered exclusive< / em > < / p >
< / div > < / blockquote >
< p > Used to determine which category of wild encounter to attempt.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "terrain-type" >
2023-02-11 15:49:16 +00:00
< h3 > Terrain Type< a class = "headerlink" href = "#terrain-type" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< blockquote >
< div > < p > < em > pokefirered exclusive< / em > < / p >
< / div > < / blockquote >
< p > Used to determine certain attributes of metatiles. Can be useful in certain scenarios.
For example, to determine if the player is facing water or standing in grass.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "metatile-label" >
2023-02-11 15:49:16 +00:00
< h3 > Metatile Label< a class = "headerlink" href = "#metatile-label" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< blockquote >
< div > < p > < em > optional< / em > < / p >
< / div > < / blockquote >
< p > A name can be given to metatiles so that they may be referenced in source code.
These are defined in < code class = "docutils literal notranslate" > < span class = "pre" > include/constants/metatile_labels.h< / span > < / code > and can be used in
together with the < code class = "docutils literal notranslate" > < span class = "pre" > METATILE_ID< / span > < / code > macro.< / p >
< p > For example, the metatile pictured above can be accessed like
< code class = "docutils literal notranslate" > < span class = "pre" > METATILE_ID(General,< / span > < span class = "pre" > Plain_Grass)< / span > < / code > .< / p >
2023-01-22 18:02:00 +00:00
< / section >
< / section >
< section id = "tools-menu" >
2023-02-11 15:49:16 +00:00
< h2 > Tools Menu< a class = "headerlink" href = "#tools-menu" title = "Permalink to this heading" > < / a > < / h2 >
2022-09-10 19:08:48 +01:00
< p > The tileset editor provides users with several useful tools for making edits
easier and more convenient.< / p >
2023-01-22 18:02:00 +00:00
< section id = "import-tiles-image" >
2023-02-11 15:49:16 +00:00
< h3 > Import Tiles Image…< a class = "headerlink" href = "#import-tiles-image" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< p > Tool to automatically import a new tile image for a tileset.
The tile image is an indexed png of 8x8 pixel tiles, which are used to form
metatiles in the tileset editor.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "import-metatiles-from-advance-map-1-92" >
2023-02-11 15:49:16 +00:00
< h3 > Import Metatiles from Advance Map 1.92…< a class = "headerlink" href = "#import-metatiles-from-advance-map-1-92" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< p > Helpful for users converting projects from binary hacks.
Metatile data exported from Advance Map 1.92 in a < code class = "docutils literal notranslate" > < span class = "pre" > .bvd`< / span > < / code > file can be imported
into porymap’ s tileset editor.
This saves a lot of time since metatiles will not have to be defined from scratch.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "change-number-of-metatiles" >
2023-02-11 15:49:16 +00:00
< h3 > Change Number of Metatiles< a class = "headerlink" href = "#change-number-of-metatiles" title = "Permalink to this heading" > < / a > < / h3 >
2022-09-10 19:08:48 +01:00
< p > The number of metatiles in both the current primary and current secondary tileset
can be adjusted within the limits.< / p >
< div class = "admonition note" >
< p class = "admonition-title" > Note< / p >
< p > You may need to change the Makefile rules for the number of tiles allowed
for the tileset in the file < code class = "docutils literal notranslate" > < span class = "pre" > graphics_file_rules.mk< / span > < / code > . You can simply
remove the < code class = "docutils literal notranslate" > < span class = "pre" > -num_tiles=< / span > < / code > argument altogether.< / p >
< / div >
2023-01-22 18:02:00 +00:00
< / section >
< section id = "other-tools" >
2023-02-11 15:49:16 +00:00
< h3 > Other Tools< a class = "headerlink" href = "#other-tools" title = "Permalink to this heading" > < / a > < / h3 >
2023-01-22 18:02:00 +00:00
< figure class = "align-center" id = "id3" >
2022-09-10 19:08:48 +01:00
< a class = "reference internal image-reference" href = "../_images/tse-display-tool.png" > < img alt = "TSE Unused" src = "../_images/tse-display-tool.png" style = "width: 60%;" / > < / a >
2023-01-22 18:02:00 +00:00
< figcaption >
2023-02-11 15:49:16 +00:00
< p > < span class = "caption-text" > Displaying Unused Tiles< / span > < a class = "headerlink" href = "#id3" title = "Permalink to this image" > < / a > < / p >
2023-01-22 18:02:00 +00:00
< / figcaption >
< / figure >
2022-09-10 19:08:48 +01:00
< p > There are also tools to count the number of metatile and tile usages across the
entire project, which can be useful, for example, in determining whether a
metatile can be deleted. The output of these operations is pictured above.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< / section >
< section id = "palette-editor" >
2023-02-11 15:49:16 +00:00
< h2 > Palette Editor< a class = "headerlink" href = "#palette-editor" title = "Permalink to this heading" > < / a > < / h2 >
2022-09-10 19:08:48 +01:00
< p > The palette editor is where the < code class = "docutils literal notranslate" > < span class = "pre" > .pal< / span > < / code > files are modified for each tileset.< / p >
2023-01-22 18:02:00 +00:00
< figure class = "align-center" id = "id4" >
2022-09-10 19:08:48 +01:00
< a class = "reference internal image-reference" href = "../_images/pe-open-window.png" > < img alt = "PE" src = "../_images/pe-open-window.png" style = "width: 75%;" / > < / a >
2023-01-22 18:02:00 +00:00
< figcaption >
2023-02-11 15:49:16 +00:00
< p > < span class = "caption-text" > Palette Editor< / span > < a class = "headerlink" href = "#id4" title = "Permalink to this image" > < / a > < / p >
2023-01-22 18:02:00 +00:00
< / figcaption >
< / figure >
2022-09-10 19:08:48 +01:00
< p > The current palette is indicated by the spinner at the top left. To switch
between palettes, just change the spinner value.
At the top right is a setting for the bit depth at which colors are displayed.
The colors in a palette file are displayed as 24 bit numbers, but the GBA
hardware only allows 15 bit colors, so displaying in 15 bits can be more realistic.< / p >
< p > Each individual color can be adjusted with either the sliders or the spinners,
in addition to the hex value box. Each color also has an eyedropper toolbutton
which allows users to pick any color from the screen and add it to the palette.< / p >
< p > Entire palettes can also be imported from a variety of formats,
including JASC, Adobe Color Table, Tile Layer Pro, and Advance PE.
Each imported palette must contain 16 colors.< / p >
2023-01-22 18:02:00 +00:00
< / section >
< / section >
2022-09-10 19:08:48 +01:00
< / div >
< / div >
2023-02-11 15:49:16 +00:00
< footer > < div class = "rst-footer-buttons" role = "navigation" aria-label = "Footer" >
2023-01-22 18:02:00 +00:00
< a href = "region-map-editor.html" class = "btn btn-neutral float-left" title = "The Region Map Editor" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" aria-hidden = "true" > < / span > Previous< / a >
2023-02-11 15:49:16 +00:00
< a href = "scripting-capabilities.html" class = "btn btn-neutral float-right" title = "Scripting Capabilities" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" aria-hidden = "true" > < / span > < / a >
2022-09-10 19:08:48 +01:00
< / div >
< hr / >
< div role = "contentinfo" >
2023-02-11 15:49:16 +00:00
< p > © Copyright 2023, huderlem.< / p >
2022-11-03 22:49:03 +00:00
< / div >
2023-02-11 15:49:16 +00:00
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > using a
2023-01-22 18:02:00 +00:00
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme< / a >
2023-02-11 15:49:16 +00:00
provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
2022-09-10 19:08:48 +01:00
2022-11-03 15:33:06 +00:00
< / footer >
2022-09-10 19:08:48 +01:00
< / div >
< / div >
< / section >
< / div >
2023-02-11 15:49:16 +00:00
< script >
2022-09-10 19:08:48 +01:00
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
2023-02-11 15:49:16 +00:00
< / script >
2022-09-10 19:08:48 +01:00
< / body >
< / html >