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
tmx2lua
Who is online
Users browsing this forum: Bing [Bot] and 221 guests