I managed to get a list of all the tiles in a layer of a tmx map by iterating through the IReadOnlyList<TiledTile> Tiles in TiledTileLayer and enumerating the values into another list. But I need to be able to iterate through that list and check for a certain property. However, TiledTile has no properties variable and no getProperties() method. How would I do this?

Correct me if I'm wrong but I think the properties you're after exist on the Tileset Tile.

There's been a lot of work going into the Tiled feature of MonoGame.Extended lately. Even since you asked this question a lot of things have changed. If there's something missing, raising a github issue is a good way to get some eyeballs on it.

Sorry if I've missed something. I checked the Tiled editor to see what properties you might be talking about and I'm not sure how you'd go about setting Properties at the tile level.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.