Skip to content

Using Tiled for making maps

Logan edited this page Aug 14, 2020 · 3 revisions

Tiled Support

TetraForce heavily uses Tiled for creating it's world maps and it may be a little difficult to get started with it if you have never done so. Here are some instructions on how to get started with the Tiled Map Editor. We use the vnen.tiled.editor plugin for importing.

Setup

All about how to set up tiled, if you know how to create a map and create layers for objects and tiles, feel free to skip

Tiled Map Settings

To properly configure your map, make sure to set the following values when creating a map:

  1. Tile Size is set to 16x16
  2. Map Size is infinite Everything else should be set to default settings. If prompted to save immediately, save it in the maps folder

Importing tile sets and objects

Most assets you will use are going to be in the tiled folder. To use them, click file -> open, and navigate to the folder tiled to find what you want. You will need to import a tile set in it's respective folder, as well as the objects.tsx

Creating layers for tile sets

To place regular tiles, create a new tile layer by either.

  • The icon in the bottom right, New layer -> Tile Layer
  • Going to the top bar and selecting Layer -> New -> Tile Layer Rename your new layer to whatever is appropriate by double clicking it in the bottom right layers box

Note: it's pretty useful to add multiple layers, similar to digital art. Make sure to be on the right layer though!

Creating layer for objects

To place objects, make sure to create an object layer if not done so already by either:

  • The icon in the bottom right, New layer -> Object Layer
  • Going to the top bar and selecting Layer -> New -> Object Layer Rename your new object layer 'objects' by double clicking it in the bottom right layers box

Map Creation

This section talks about the process of creating a map, adding objects but NOT creating tile sets or expanding the list of tiled objects

Using Tiled and tile sets

For Elginlive to give sick tips

Placing Objects

Make sure to place only tiles from the object into the object layer, and that you're in the right layer for placing anything Select the object you want to place from the tile set and press T to start placing objects To change any properties for any object select it and change the property on the side bar to the left