|
Wow!
Cross-platform UI code is the most difficult thing. I think at that point it's reasonable to just use different, per-platform code and have a Makefile to arbitrate which one you're building for. But being able to share the rest of the codebase is a powerful thing.
I think cross platform with mobile is really hard unless you use HTML... the abstractions are very different. This is not necessarily true for some domains eg 3D which is more standard though.I did use Wax for iOS, which is quite nice https://github.com/probablycorey/waxJustinOn Wed, Jan 23, 2013 at 3:04 PM, Andrew Pennebaker <andrew.pennebaker@gmail.com> wrote:Awesome work with AndroLua!
Anyone with an iDevice, or at least an emulator? Anyone with a Windows mobile device? As much as I prioritize crossplatform support, I too only have Android.
On Jan 23, 2013 8:54 AM, "steve donovan" <steve.j.donovan@gmail.com> wrote:On Tue, Jan 22, 2013 at 8:16 PM, Andrew Pennebaker
<andrew.pennebaker@gmail.com> wrote:
> Corona looks interesting, but it sucks to have to use nonFOSS tools to
> develop. Can we get better support for mobile app development in Lua?
Well, this is Android specific, but Michal Kottman's AndroLua gets Lua
cooking using LuaJava to interface with Dalvik.
I've run with this ball and added a simple framework that makes
writing Android Lua apps much easier. This framework comes with a
plot library - here is an example of the style:
https://github.com/stevedonovan/AndroLua/blob/master/assets/example/plot.lua
The results on my Nexus 7 look like this:
http://stevedonovan.github.com/files/androluaplot.png
There's an APK with this as one of the demos here:
http://stevedonovan.github.com/files/sk.kottman.androlua.Main.apk
The focus with AndroLua is not cross-platform gaming, but quick
Android app generation. Cross-platform is a whole other kettle of
fish and for that we would have to get a team together, since I don't
know or do iOS.
steve d.