Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
How to implement an isometric tile map with layers and objects in main.lua ? — Gideros Forum

How to implement an isometric tile map with layers and objects in main.lua ?

akinaslanakinaslan Member
edited September 2013 in Game & application design
Good night everybody, (my local time is almost 1am)
I need a function that can implement multiple layers and objects on an isometric tile map saving with Tiled Map Editor.

In the forum there are some examples but I can't find anywhere what I need. For example:
https://github.com/gideros/Isometric-Tilemap/blob/master/isometrictilemap.lua
in this codes that implement only layers not objects. However it implemets layers very very succesfully. Anyway, if you prepare a map with objects and Gideros would open a error dialog box and its contain this.

main.lua:36: 'for' limit must be a number
stack traceback:
main.lua:36: in function 'load'
main.lua:86: in main chunk

Second Examples:
http://www.giderosmobile.com/forum/discussion/999/tiled-example-with-tile-layer-object-layer-and-box2d-collisions

This is the best approch for my need. In this example there is an orthogonal tile map and objects on it. This is also very good way of programming but I need the same with a different thing as I mentioned above.

Additionally I tried to combine both of them but I can't due to the lack of my lua expreriance.

So, to sum up all, i need an "isometrictilemap.lua" file that supports also tile map objects.

Thank you very much.

akın
Sign In or Register to comment.