Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 991 Bytes

File metadata and controls

35 lines (29 loc) · 991 Bytes

Usage

This Tile Editor application can read in, and write out, JSON files for use by 2D games: This file is of the form:

{
  "map":
  {
    "rows": <How many rows>,
    "cols": <How many columns>
  },
  "tiles":
  [
    {
      "tile":
      {
        "row": <Which row this tile is in>,
        "col": <Which column this tile is in>,
        "image-name": <Name of your image>,
        "solid": <true or false>,
        "events": <An array of fully qualified class names for any tile events associated with this tile, 
                   i.e. moves character position, random encounter, hidden item, etc.>
      }
    }, 
    // more tile objects
    

Screenshots

Using editor to add tiles

TileEdPic

Loading images into image menu

TileEdWithImageMenuPic