2D Toolkit Forum

2D Toolkit => Support => Topic started by: mamamia on November 29, 2012, 04:03:36 pm

Title: Starting to think about creating a tiled map. Some questions.
Post by: mamamia on November 29, 2012, 04:03:36 pm
Hi!,

I'm thinking about creating a map with tiles. I have used tiled for the past years and I'm really happy it is the editor selected to import data from. Questions:

1) Are custom attributes for map, layers and tiles supported?
2) Is there support for removing a tile from the map?
3) Are all the tiles collapsed into a mesh? If this is the case and it has support for 2, when removing a tile will it rebuild the mesh at runtime?

Thanks in advance.
Title: Re: Starting to think about creating a tiled map. Some questions.
Post by: unikronsoftware on November 30, 2012, 04:28:13 pm
1. No, attributes aren't imported.
2. You can do that both offline and runtime, but you should be careful with colliders - colliders are very expensive to change at runtime.
3. Yes it will, but as mentioned above, rebuilding the collider is very expensive.
Title: Re: Starting to think about creating a tiled map. Some questions.
Post by: mamamia on November 30, 2012, 04:54:25 pm
Hi again!,

Is there any plan to add tiles/layer/map attributes? I could add this myself, but don't want to waste the time if you are planning about adding this. One use for this attributes for example could be different sounds when walking through different tiles, etc...

Thanks in advance.
Title: Re: Starting to think about creating a tiled map. Some questions.
Post by: unikronsoftware on November 30, 2012, 04:59:21 pm
Right now, there is support for attributes per tile type, but not per instance.

It is planned, but I'm not sure when I'll get around it to be honest. My main concern right now is getting 1.90 out with the new animation editor. After that it'll be the transition to 2.0...
Title: Re: Starting to think about creating a tiled map. Some questions.
Post by: mamamia on December 03, 2012, 04:51:35 pm
Ok, no problem mate. Keep up the great work!