# How Do I Actually Use A Map In Corona SDK?

**URL:** <https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507>\
**Category:** Questions\
**Created:** [May 7, 2015, 5:18pm UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507 "2015-05-07T17:18:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@victor](https://discourse.mapeditor.org/u/victor)\
**Post date:** [May 7, 2015, 5:18pm UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/1 "2015-05-07T17:18:54Z")

</div>

I have a sample map. The Water and Grass.  
I export it as .lua file for Corona SDK.  
I Opened that file and I see a table  
return {  
– Here there are more tables with all the  
– tiles info, size, layers, and numbers for data

}

It’s just a .lua file

How do I actually see, this map in composer?  
How do I use it, Like how do I place an image in tile 45? for example  
like a boat on close to the east shore?  
how do I recognize each tile in composer?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![TilemapKit](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/tilemapkit/32/255_2.png) [@TilemapKit](https://discourse.mapeditor.org/u/TilemapKit)\
**Post date:** [May 7, 2015, 5:49pm UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/2 "2015-05-07T17:49:21Z")

</div>

You’ll need a Tiled parser/renderer for Corona. Not sure if one exists.

The Lua files Tiled writes are simply the map’s data. There’s nothing in it that’s specific to Corona. It won’t draw anything unless you either use a library that works with Corona and can render the map for you, or you could write your own renderer using sprites for tiles (and sweat, lots of sweat and some swearing on the side). 😉

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [May 7, 2015, 7:24pm UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/3 "2015-05-07T19:24:19Z")

</div>

If you’re using Corona SDK you’ll want to check out Lime which can be found here:

> **[OutlawGameTools/Lime2DTileEngine](https://github.com/OutlawGameTools/Lime2DTileEngine)**
>
> Library for creating 2D tile-based games with Corona SDK. - OutlawGameTools/Lime2DTileEngine

A bunch of tutorials are available here:

> **[anthonymoralez/lime-tutorials](https://github.com/anthonymoralez/lime-tutorials)**
>
> Lime Tutorials from http://lime.outlawgametools.com/tutorials-3/ but updated to work with the latest lime and corona SDK - anthonymoralez/lime-tutorials

It does not use the Lua export format because this was added after Lime was developed (which was [back in 2010](http://developer.coronalabs.com/forum/2010/11/12/introducing-lime-module-import-2d-tilemaps-your-game)).

---

<div class="post-metadata">

**Author:** ![pointnclick](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@pointnclick](https://discourse.mapeditor.org/u/pointnclick)\
**Post date:** [May 8, 2015, 7:09am UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/4 "2015-05-08T07:09:15Z")

</div>

Cool, I’ve been meaning to find out about this as well. I have corona installed along with text wrangler as my editor but I actually haven’t used it yet. Good to know that Lime exists…

---

<div class="post-metadata">

**Author:** ![victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@victor](https://discourse.mapeditor.org/u/victor)\
**Post date:** [May 9, 2015, 2:20am UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/5 "2015-05-09T02:20:01Z")

</div>

I checked Lime2D with Tiled – great combination…  
I just need to learn how to do it a little more…

QUESTION…  
If I Buy the program… and I have an “specific” question that I can not answer  
is there anyone that can help me solve that…

If so, I think it will be more than worth it to buy the 3 programs (Tiled, Sprite, Physics)  
I think is $69.00 or so Right?

So if you have someone to actual help, and not just “youtube” and "Google"  
I will buy it for sure…

Let me know

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [May 9, 2015, 6:12am UTC](https://discourse.mapeditor.org/t/how-do-i-actually-use-a-map-in-corona-sdk/507/6 "2015-05-09T06:12:29Z")

</div>

> [@victor](#):
>
> If I Buy the program… and I have an “specific” question that I can not answeris there anyone that can help me solve that…
> 
> If so, I think it will be more than worth it to buy the 3 programs (Tiled, Sprite, Physics)I think is $69.00 or so Right?
> 
> So if you have someone to actual help, and not just “youtube” and "Google"I will buy it for sure…

Are you talking about buying Lime? I don’t think it’s still for sale, is it?

Tiled is provided for free, and I’m even providing some level of support for free. My hope is that enough people will [donate monthly through Patreon](https://www.patreon.com/bjorn) to allow me to spend more time on developing Tiled further.
