Hi,
@atilim posted some code that's supposed to handle multiple tilesets...
http://giderosmobile.com/forum/discussion/699/using-tiled/p1But 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
stack traceback:
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.
Comments
Try this:
Now there is known bug that when user click on the screen I do not know maybe because of changing platformer.lua or not ...
Likes: vitalitymobile