Most game sample codes, Lime or not, they have a lua file for every level. That seems to be a lot of work and not very efficient in terms of development time.
There gotta be a better way for that, if I use lime and I name all my level maps like this;
level_1.tmx, level_2.tmx etc
So when my player has found the key and walked to the door or if he beat the boss, the next level loads. Basically it check what level number I am on and if I got the key then load the level with the next higher number.
Another thing I wonder about is when you make a meny like Angry Birds (take them as an example since everyone is doing menus like that) How do I assign a number to a button so it corresponds to the level with the same number?
I was looking at the Lime website and there was no sample on how to load levels, is there any new updates to Lime or new tutorials coming?
Btw, “Building a Platform game with Corona and Lime” tutorial is missing the source files or the links are broken.
Thanks
David [import]uid: 34126 topic_id: 16556 reply_id: 316556[/import]