Update: ok after more testing this issue is still present. If you are using objects with custom properties as opposed to tiles, the imported wont pick them up.
rexrainbow - Hello again!
I still have to verify the new object offset feature you added, but in the mean time i came across another issue with the TMX importer.
When using the Tiled map editor object layer, and you add objects via the "Insert Tile" button (the one that has a little image icon). Any custom properties on these objects will show up in the property window, however they wont be read by the importer
Here's an example.
If I save the file after adding a few tiles, None of the custom properties show up in the tmx data in the <objectgroup> <properties> section where i believe your plugin is looking for them.
However! If you add another random custom property to the object in the map then save it again there is now a new entry in the <objectgroup> at the bottom (its no longer blank), AND the TMX importer now actually reads all the previous custom properties that it was skipping over before.
It appears that If your importer doesn't find a <properties> section within <objectgroup> they it wont load any of the custom properties that are being added to the file via embedding a external tileset even though the data for that is just in a different location in the .tmx file.
Example: File saved with only custom object properties being defined in the tileset
<objectgroup name="Object Layer 1">
<object id="1" gid="1" x="0" y="1400" width="2064" height="401">
</object>
</objectgroup>[/code:3f1gcdbw]
Example: File saved with an extra custom property added before saving
<objectgroup name="Object Layer 1">
<object id="1" gid="1" x="0" y="1400" width="2064" height="401">
<properties>
<property name="TestProperty" value="TestData"/>
</properties>
</object>
</objectgroup>[/code:3f1gcdbw]
in both examples, up higher in the TMX file the object custom properties are defined but the importer is skipping this data if the <objectgroup> is missing the <properties> section
[code:3f1gcdbw] <tile id="0">
<properties>
<property name="Damage" type="int" value="1"/>
<property name="Name" value="LavaPool"/>
<property name="Solid" type="int" value="1"/>
<property name="Value" type="int" value="0"/>
</properties>
<image width="2064" height="401" source="../Art/Lava_ground.png"/>[/code:3f1gcdbw]
it appears as if its a case of how the map editor is saving the file, but perhaps there's a way to make it work with your importer?
I can be found on discord in your channel if you have further questions: @justifun
thanks!