Recent

Author Topic: Tile map in Lazarus  (Read 3071 times)

KMagic

  • Full Member
  • ***
  • Posts: 100
Tile map in Lazarus
« on: September 18, 2014, 11:39:06 am »
  I have created a Tile Map using "Tiled" software, which gives me a TMX file. Now, How can I load the map to my game? Do I have to write my own code for loading the map? Or, Is there any other tool which can help me with this?  :'(

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Tile map in Lazarus
« Reply #1 on: September 18, 2014, 02:35:12 pm »

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Tile map in Lazarus
« Reply #2 on: September 26, 2014, 09:23:11 pm »
I've created my own version of Tile Map File with .ini files instead of .xml for BGRABitmap.
http://forum.lazarus.freepascal.org/index.php/topic,24176.msg158564.html#msg158564
BTW you can easily re-use the code and implement XML using the drawing tools you need.

 

TinyPortal © 2005-2018