GFM’s map editor manual

Index

  1.  Overview
  2.  The interface

Overview

The “Map editor” was developed to aid the creation of complex 2D maps. For instance, if one were to use Flixel they would be able to create a tilemap with only a auto-tile or with differents tiles. There’s no built-in support for multiples autotiles, neither for complex importation from bitmap (as far as I know).

Those are the two aspects that this program try to address: ease the creation of a tilemap, allowing the placement of tiles in the map (visually); and allow the use of complex tilesets, with multiples auto-tiles.

One feature that will be implemented on the next version is custom output for objects placed in the map (that way, it’ll be possible to already put enemies on the map and have the code for them with positions, for example).

The interface

When your first start the editor, this is the displayed

Editor's main screen

Editor’s main screen

  1. Insert (either by typing or throw the ‘+’ and ‘-‘ buttons) how many tiles there are in a row.
  2. Insert how many tiles there are in a column.
  3. Insert how many non-autotiled tiles there are in the tileset you are going to use. They must be before the autotiles. See the following examples:
    Tileset with 4 non-autotiles and 1 autotile

    Tileset with 4 non-autotiles and 1 autotile

    Tileset with 5 non-autotiles and 3 autotiles.

    Tileset with 5 non-autotiles and 3 autotiles.

     

  4. Zoom factor for displaying. This can be changed afterward.
  5. Click here to import a tileset and start creating a map. The order in a autotile is as follows:
  6. Export the created map to a text file. Each tile is separeted by a comma and each row by a ‘\n’ character.
  7. Load a map from text file.
  8. Remove all created content and imported tileset.

After loading a tileset, a clean map and a palette with the tiles from your tileset will appear.

You can also use Ctrl+Z to undo and Ctrl+Y to redo!

After tileset importing

After tileset importing

  1. The map. Click on any tile to set it to the selected one (on the palette). If it’s a autotile, it will be automatically updated to the correct one (according to it’s surrounds).
  2. The palette. Click on any tile to select it.
  3. This darkened tile is the currently selected one.
Advertisements

4 responses to “GFM’s map editor manual

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s