MapTile Component

Settings

MapTile component is used in order to determine intersections on the grid and in the Tileset mode, but if you don’t need it, you can use default game objects without the MapTile component.

_images/MapTile.png
  • Map : reference to MapCreator.

  • Map tile layer : current MapTile layer.

  • Movement type:
    • Cellmoving an object on a grid.
      • Auto snap positionenable grid snapping for the object.
        • Allow Y axis movement : can the object move along the Y-axis.

        • Auto apply old local offset : the object in the new cell will be set to the old local offset.

    • Local offsetmovement within a grid cell.
      • Clamp local offset : fixing the object only within the current object cell.

    • Default : default moving.

  • Auto make changes map : any change of the object’s position changes the map grid.

  • Allow replace intersted tiles : if objects in the current layer intersect (except the Overlay layer), they will be deleted.

  • Size:
    • Width : X tile size of the object.

    • Height : Y tile size of the object.

  • Cell local offset : the current local offset relative to the centre of the current object cell.

  • Tiles : coordinates of the grid on which the objects are located.

  • Draw bounds:
    • Draw current bounds : displays the bounds of the current object.

    • Draw cell bounds : displays the bounds of the current object on the grid.

    • Bounds color : color of the bounds of the current object.

    • Cell bounds color : color of the bounds of the current object on the grid.

    • Y bounds size : Y-axis size of the bounds object.

  • Show cellssettings to add cells to ignore calculations.
    • Object Y space : cells are displayed at the Y position of the object.

    • Show buttons : displays buttons to add ignore cells.

    • Show buttons relative cursor : displays buttons only under the cursor.

    • Local gaps : local coordinates of cells that are ignored for calculations.

    Note

    Cell ignoring can be useful for non-square or square tiles with gaps.

MapTile Layer

Each MapTile object has its own layer, (Layer 1, Layer2, …, Layer9) are default layers that are used to calculate the grid, and the overlay layer is used for objects that do not need a grid.

Note

You can change the name of the layer here Map Data Holder Settings.