lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Fernando,

> The problem with that is that if we need some functions like sockets,
> database access or something like that, we won't find it in the game system,
> probably, and then you will have to recreate the interpreter and compile it
> under each platform (not all that easy for somebody with no expertize y
> XCODE or Android NDK development).
> If we have to do that, we could use plain lua.

If you're looking for a general framework, I suggest you also look at
Mosync (http://mosync.com) and MobileLua that runs on top of it
(https://github.com/divineprog/mobilelua). It's a thin layer running
inside a Lua interpreter with Lua interface to mosync API that gives
you access to all device functions (including socket and db
interfaces). I've used it for both iOS and Android (with the same Lua
code running in both places) and they also claim support for
WindowsPhone, although I haven't had a chance to test it yet. I also
developed a debugger that supports remote debugging of applications
running on a mobile device (on top of mobileLua) from an ide running
on a desktop (https://github.com/pkulchenko/MobDebug).

Paul.

On Thu, Jun 28, 2012 at 11:49 PM, Fernando Ariznavarreta Fdez.
<ariznaf@ingdes.org> wrote:
> I have been reading about moai and Gideros.
>
> MoaiGUI seems a good thing, although it is not completly developed.
>
> But it seems a system completly game oriented.
>
> The problem with that is that if we need some functions like sockets,
> database access or something like that, we won't find it in the game system,
> probably, and then you will have to recreate the interpreter and compile it
> under each platform (not all that easy for somebody with no expertize y
> XCODE or Android NDK development).
> If we have to do that, we could use plain lua.
>
> We will have to test several options and see what can be expected from them.
>
> Now at least, we know of much more options thanks to the advice of this
> community.
>
> Thank you all.
> Fernando
>
>> From: pygy79@gmail.com
>> Date: Wed, 27 Jun 2012 15:53:29 +0200
>
>> To: lua-l@lists.lua.org
>> Subject: Re: Best framework to LUA developing in Tablets? Is it possible?
>>
>> On Wed, Jun 27, 2012 at 9:18 AM, Fernando Ariznavarreta Fdez.
>> <ariznaf@ingdes.org> wrote:
>> > Thank you both for your answers.
>> > I did not knew about Gideros, I will have a look at it.
>>
>> While you're at it, you may want to look at Moai as well then. I
>> didn't suggest it at first because you were looking for a general app
>> toolkit and Moai's primary focus is games, but, even though it doesn't
>> have builtin GUI capabilities, there are third party solutions like
>> this: https://github.com/derickd/moaigui. It is full themeable.
>>
>> Moai supports the native iOS keyboard, and Android keyboard support is
>> in the works (it is functional, but needs to be refactored and
>> merged).
>>
>> Moai is open source attributionware: free to use and modify as long as
>> you display proper attribution give back the modifications made to the
>> core engine. The license is not viral.
>>
>> -- Pierre-Yves
>>