[RELEASED] LunaTMX - Unity2D Tilemap Importer

LunaTMX - Unity3D Tilemap Importer

A small library to import and render tilemap in Unity (for 2D Development), only support TMX file format.

Features

  1. Import TMX Map into a Texture2D
  2. Support Auto-Detect Collision with Polygon Collider 2D
  3. Support as many as you want tilesets for a layer

Usage

Tiles

Draw and naming your layers, be careful with naming, layer with

 prefix will have a collider component.

[SIZE=3][B]Collision[/B][/SIZE]

Name your layer with [C] prefix for automatically detecting collision.

[SIZE=3][B]Save TMX[/B][/SIZE]

Use CSV data type and save with .TMX extension, then change that extension into .XML.

[SIZE=3][B]Unity Usage[/B][/SIZE]

1. Create a folder inside Asset directory named Resources
2. Import all scripts, also import TMX files
3. Import all Tilesets image into a folder inside Resources directory we created above, also set those Texture Type to Advanced and tick Read/Write Enabled box
4. Add TileMap.cs to an empty Game Object and follow the instruction.


__[B][SIZE=4]Source Code[/SIZE][/B]__

[URL="https://github.com/suppayami/unity2d-tmx"]Get it on Github[/URL]


__[B][SIZE=4]License and Credit[/SIZE][/B]__

© 2014, [URL="https://twitter.com/SuppaYami"]@SuppaYami[/URL] - Cuong Nguyen
Released under the MIT license
Check LICENSE for more details.

Nice work, but i am having a couple issues.
I created a map with some layers but when i imported it looked a bit broken. I have tried with 3 layers the first layer one works fine, but the following ones are not, some tiles are missing and some have been cut in half (in a diagonal way). :face_with_spiral_eyes: