I’m working on importing the JSON data provided by Tiled. I’m able to create an Object Type (in the Object Types Editor) and assign it to a specific tile in a tileset, however, Tile Layers can’t receive an Object Type. Is there any other way to assign structured custom data to a Tile Layer?
My plan was to import the Object Types as structured data into my program and handle different game conditions based on a property type. Right now I’m just giving Tile Layers a custom property, programming against it, and calling it good. The Object Types give me a way of seeing/checking all of my custom properties in 1 file instead of checking each layer/tile in-editor and/or in separate files. I haven’t dived into Object Layers yet and I’d like to keep it simple. Is there another feature I’m missing? Thanks for your time.
Edit: This applies to Tileset properties as well. They can receive Custom Properties but not an Object Type.