tmx2lua

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
adrix89
Party member
Posts: 135
Joined: Fri Oct 15, 2010 10:58 am

tmx2lua

Post by adrix89 »

http://dl.dropbox.com/u/1027218/tmx2lua.love
Nothing fancy,just transforms a tmx file into a lua table
Be sure to set your tiled map encoding too CSV by going too edit>prefrence>set tile layer data as>CSV
By some miracle it seems to work on XML too(although I haven't tested it much)
Also there is NO base64 support or compression so if you want that you would have to add 2 more checks and decode the data
If you find any bugs, post them here

Update: Fixed a bug with nill properties
Update2:Better obj/tile type handling

Warning!: Do not under any circumstance add the " character in property names or for anywhere else for that matter as my implementation can't handle it, ' seems to work however
I use Workflowy but you can check out Dynalist as its the better offer.
Post Reply

Who is online

Users browsing this forum: No registered users and 70 guests