Can i use Tiled for define terrain type layer?

Hello,

I’m not sure than Tiled can achieve my particular use case. So I ask here : I write a 2D top view game. I search a tool than permit design type of terrain by tiles.

There is a screens where i use tile layer as type of terrain layer:

terrain_578

interior_743

Goal is have a tiled map where my game can read:

  • map size
  • map background
  • map decorations (trees, etc)
  • terrain types

In previous example, we can see grass, road, wall, house interior, etc

My only problem is: map designer only see terrain type tiles as colors (because i use a plain color) and i would like user can see text “name” of tile.

Any idea would match with my need ? Thanks !

If you’re seeking to label areas of tiles on the map, perhaps using Text Objects could work? You could write a script to generate these automatically based on the map content (though the user would have to trigger this script manually).

If you just want the user to be able to identify which coloured tile represents what terrain, you could add a custom property to the tiles in the Tileset with the name. Whenever the user clicks that tile, that name will show up in the properties view. They won’t show up on the map itself, but if the goal is just to clarify what each colour means, I think this is the simplest and least obtrusive way.

1 Like

Hello @eishiya , thanks for your time. I will study these options !