Hi, I'm new here and just as well, I'm new to Marmalade!
My question is what functionalities/roles/whatever do a Lua scripting component perform for a Marmalade SDK project? And are there any tutorials out there to help me get started?
It seems like a basic question, but I've been googling and all and coming up with nothing.
Thanks!












Hi,
I'm not the best candidate to answer your question, as I'm newbie too. And I'm not sure what I'm saying is the actual answer to your question, but I try my best.
You can get LUA for Marmalade from here: https://github.com/marmalade/lua. Then the only thing you need to do is add the mkb to your project.
If you decide to use Marmalade Studio Director (I personally don't use it), it support LUA scripting and you can add LUA script to your project.
Dane, thanks for the information. Your comment means some progress for me! :D
You cannot use LUA as a development language to interface to the Marmalade SDK in the same way as say Corona does. However you can integrate the LUA module into your project and bind it to your own code
In case you are still looking, heres a tutorial I recently wrote covering LUA integration - http://www.drmop.com/index.php/2012/06/26/marmalade-sdk-tutorial-integrating-lua-script-language/
see attached
Hi,
I used math's tutorial and it works great!!!
Now I'm triying to add luasocket to lua module but i can't.
I add all src content from luasocket to the same folder of lua and add the files to the mkf. It compiles but, when use a script that want to "require("socket")", it never found the file "core.so".
I was looking into files and look likes in the makefile add a lot of files to a lib called "core.so" but I don't know how to do it in a mkb file.
Any idea??
Thanks a lot Math for your tutorial!!!
Well, now I create a .lib with the source code of luasocket (for x86 and other for the ARM) and I'm changing the source code of luaconf.h for search for .lib instead of .so, but I thing this is a bad way.
I can create a dll with the option dll in the mkb but, Can I get a .so or any compatible for the arm version??
I still working on it, any help is welcome!!