Corona + Lime help

Hi Guys.

I’m new to Corona.

I’ve been following a few tutorials, and I wanted to try Tiled the map editor.
And I also downloaded Lime.

I’m just joking around and trying stuff, and trying to follow a tutorial with Tile + lime.

Here’s what I need help with.

I’ve made a folder for my project called ( Game )
So I saved my map that I created in tiled, in the Game folder.

I also dragged the Lime folder in the Game folder.

But on step 6 on the tutorial it says that I have to load the map in Lime.

I have no IDEA what he means, do I create a main Lua file ?

And write this : 

  • local lime = require(“lime”)
  • local map = lime.loadMap(“my.tmx”)
  • local visual = lime.createVisual(map)

Thanks for any reply, I’m new to this. 

Cheers!

No one ?

Every Corona SDK app has to have a main.lua file so if you don’t have one, create one and then put that code in there and see what happens.

However, Lime is in a state where it will be *very* (I can’t stress that enough) frustrating to anyone but an intermediate-advanced Corona dev. Beginners should steer clear of it (and now that I’ve written that I realize I need to go put a warning on the download page). The changes made to the Corona framework in the last several months have made Lime unusable without some tweaking.

I know there are people still using Lime, but I don’t know of anyone who’s making fixes for public use. Lime was first, but there are now other tiling engines that have more features and are faster in operation. MTE (Million Tile Engine) is cheap, full-featured, and fast.

 Jay

No one ?

Every Corona SDK app has to have a main.lua file so if you don’t have one, create one and then put that code in there and see what happens.

However, Lime is in a state where it will be *very* (I can’t stress that enough) frustrating to anyone but an intermediate-advanced Corona dev. Beginners should steer clear of it (and now that I’ve written that I realize I need to go put a warning on the download page). The changes made to the Corona framework in the last several months have made Lime unusable without some tweaking.

I know there are people still using Lime, but I don’t know of anyone who’s making fixes for public use. Lime was first, but there are now other tiling engines that have more features and are faster in operation. MTE (Million Tile Engine) is cheap, full-featured, and fast.

 Jay