- Home /
How can I manage 2D maps with Tiled2unity?
Hello, I need some examples about how to manage 2d tiled maps (tmx format) with Unity, using the asset Tiled2Unity. However, I can't find any examples about how animate a specific tile on runtime game, remove a tile, exchange a tile, etc....
Anyone who ever used this can give me some good examples?
Thanks community :)
I am am not sure if i am right, i searched what is Tiled2Unity is , basically i seen a small end result too exported in unity in video . Well basically found that it image is rendered on a plane. i.e It Have A mesh. Now since it have a mesh you need either go to the script and find the particular tile / texture mesh and then replace it with new. .
Now again i am not sure , but i will give you right answer till tomorrow if no one does.
Thanks for reply!
Well, can't find a way to load that mesh, and even don't know it's type or methods I'd use to manage then...
There's none documentation :/.
Would be thankful if you help me.
Answer by parndepu · Dec 24, 2015 at 04:37 PM
@fel486 I would suggest to follow this link below,
http://www.seanba.com/getting-tile-information.html
It helps you retrieving tile information at runtime.
Hope it help ;)
UPDATE: Example project on Github
https://github.com/Seanba/Tiled2Unity-TileInfoExample
Can you please give me a simplified example? I found this one but that doesn't makes sense for me, I just want the part where the code retrieves certain tile from the rendered map, just that!
Thanks
I need to manage a tile individualy, just that :/.
I discovered how to manage collisions and layers, but I need now just single tiles!
Hope someone can help me.
I need to manage a tile individualy, just that :/.
I discovered how to manage collisions and layers, but I need now just single tiles!
Hope someone can help me.