1
Support / Objects in Tile Maps?
« on: January 23, 2014, 07:14:03 am »
I want to have a level-designer/artist work on creating my map(s) using Tiled, and I would like them to be able to position objects in the scene using Tiled's object layers.
Do you have any plan to extend 2D Toolkit to expose TMX object information? I really only need to be able to access the XML data, but it would be cool if that was mapped to a dictionary for easy lookup instead of ugly XML parsing methods.
Something like this:
Also, the ability to replace an object with a prefab (the way you allow with tiles) would be great.
I'd be willing to help out with this if you're interested in including it.
Do you have any plan to extend 2D Toolkit to expose TMX object information? I really only need to be able to access the XML data, but it would be cool if that was mapped to a dictionary for easy lookup instead of ugly XML parsing methods.
Something like this:
- Get a list of ObjectLayers from the tile map object
- ObjectLayers have a list of MapObjects.
- MapObjects have information about their type (rectangle, ellipse, etc.), and a dictionary/map of key/value pairs entered from Tiled.
Also, the ability to replace an object with a prefab (the way you allow with tiles) would be great.
I'd be willing to help out with this if you're interested in including it.