Hello Guest

Author Topic: isometric map tmx type of file can be imported?  (Read 4439 times)

dodek

  • Newbie
  • *
  • Posts: 1
    • View Profile
isometric map tmx type of file can be imported?
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: isometric map tmx type of file can be imported?
« Reply #1 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.