I am a total newb to corona and this stuff.
I bought Lime and I installed Corona and Tiled.
I have no clue, how to use it.
I read the tutorials and I understand, that I make my maps in Tiled and save it as XML, but what then?
What is my games directory, where I have to put Lime.
How this will be a corona project?
How this will be an iPhone/Android game?
I am totally confused.
Step 6: Load your map in Lime
The actual loading of your map is very simple, first off make sure you have actually placed Lime in your games directory and then include the library as usual:
1. local lime = require(“lime”)
Now load up your map data:
1. local map = lime.loadMap(“tutorial0.tmx”)
After loading up your map you will not have any visual objects created, this allows you to load up multiple maps at once yet only creating the visual data later one at a time, to actually create the visual representation simply use the next line of code:
1. local visual = lime.createVisual(map) [import]uid: 6587 topic_id: 5625 reply_id: 305625[/import]