TheBoneJarmer / TiledCS

TiledCS is a dotnet library for loading Tiled tilesets and maps
MIT License
143 stars 51 forks source link

Add support for custom classes in custom properties #103

Open Frankfires opened 1 year ago

Frankfires commented 1 year ago

Tiled lets you create custom classes that can be used as property values:

image

The image above shows that I have two properties in my map: Spawn and a testing property named fffff, Spawn is a custom Vector2 class that I have created. When I try to access Spawn through the map's properties, it returns an empty string instead of a Vector2 containing its X & Y values as it should.

image image This issue restricts developers such as myself from managing their properties efficiently and in an organized manner