Skip to content
NonlinearIdeas edited this page Dec 31, 2014 · 12 revisions

Map Tiler

The Map Tiler is a python script designed to turn a map constructed from multiple layers into a tileset and xml file that can be used in the Tiled Map Editor.


Features

  • Automatically merges duplicate tiles by checking for one of eight transformations (flipX, flipY, flipDiag).
  • Allows you to specify an rectangle in the input image to use for processing.
  • Allows you specify files individually on the command line or by a pattern or both.
  • Allows you to specify the output file names.
  • Generates tilesets as a power of 2 in width x height. You can force it to be square or not.
  • MIT Licensed

Usage

See front matter in MapTiler.py file.


Dependencies

  • Uses the Python Image Library
  • Uses docopt for the options parsing. The file is included in the project.
Clone this wiki locally