Making a Path and Uploading to C#

Iv got a couple questions. Mainly because i am new with Tiled.

  1. I have made a road, and i need it for my enemies to walk on only and not off into other areas, so how do i do that, some kind of collision?, if so how?.
  2. how do i put this map on my c# code.

I would use the polygon tool for this. It allows you to create polygon objects on your map. You can also attach additional context to the areas using the object properties

See Support for TMX maps · mapeditor/tiled Wiki · GitHub for a number of .NET libraries supporting map loading.

Note that some libraries are not up to date with tiled latest features. You will need to have a look at wether the libraries supports all the tiled features you decide to use.

Regards,
Ablu