2D Toolkit Forum

2D Toolkit => Support => Topic started by: dodek on September 10, 2012, 07:11:18 am

Title: isometric map tmx type of file can be imported?
Post by: dodek on September 10, 2012, 07:11:18 am
I am trying to create an isometric game.

isometric map tmx type of file can be imported?

I try to import a map created by the tiled map program, but did not succeed.

In a different way?
Title: Re: isometric map tmx type of file can be imported?
Post by: unikronsoftware on September 10, 2012, 08:09:04 am
Importing isometric tiles hasn't been tested at all. I believe Tiled stores the tiles in a different way completely, making it impractical to import. I will need to check this to make sure. IIRC, the TileD tilemap is stored as indices going up in a 45deg angle.

If you have any issues importing (eg errors), try saving the TileD file as compressed.

If you want to extend the importer, it should be straightforward, its in tk2dTileMapImporter.cs, and the function you want is PopulateTilemap.