posted some code that's supposed to handle multiple tilesets...http://giderosmobile.com/forum/discussion/699/using-tiled/p1
But when I tried to add an additional tileset in his code, I get the following error:
tilemapmultiple.lua:14: attempt to call a nil value
tilemapmultiple.lua:14: in function 'init'
[string "property.lua"]:52: in function '__new'
[string "property.lua"]:59: in function 'new'
main.lua:2: in main chunk
Since this code is designed to load multiple tilesets and multiple layers, I'm not sure why it's failing at the beginning when it loads the platformer.lua file when there is an additional tileset there.
Any ideas? The code is attached.