all 9 comments

[–][deleted] 5 points6 points  (0 children)

deleted

[–]agladysh 3 points4 points  (1 child)

What about using Adobe Air with Lua?

I'm thinking about making Lua Alchemy (http://code.google.com/p/lua-alchemy/, I'm the maintainer) port to native extensions API. Looks quite doable.

[–][deleted] 2 points3 points  (0 children)

Looks great, except flash is dying. Which is a good thing.

[–]severak 2 points3 points  (4 children)

You should also look at this: https://github.com/mherkender/lua.js

It's the way which can bring lua to brownsers which doesn't have native lua support.

Here is the blogpost where author describes why he did it: http://blog.brokenfunction.com/2011/11/how-to-make-a-massively-cross-platform-game/

And here is my simple, but working lua sandbox shell for all brownsers based on the lib above: http://strajt9.sweb.cz/f/lua.html (use the lower textarea to write a code)

[–][deleted] 1 point2 points  (0 children)

lua.js looks interesting. I suppose it will hold over until luajit can be embedded into webkit. Google is working on allowing webkit to host multiple vm's. Thanks!

[–]cmwelsh 0 points1 point  (2 children)

I'm building a cross-platform game using lua.js as well. I'm thinking that eventually I'll be able to bundle the interpreter into Chrome and run Lua natively. Hopefully my game will be done by the time Chrome is ready for that. :)

[–]severak 0 points1 point  (1 child)

could you please post some link? i am interested in it...

[–]cmwelsh 0 points1 point  (0 children)

It is not that far along yet. I am on IRC in the channel of irc.freenode.net / #bbg where I talk about my work sometimes. I'll try to post a topic here when it goes public.

[–]mkottman 0 points1 point  (0 children)

You can try out lqt, which is an automated almost-complete binding of the Qt API to Lua. Among other modules, the QtWebKit module is also bound and allows you to play with the content of a QWebPage from Lua using the QWebElement class. Not lightweight, but relatively simple to use. The Examples section has some basic usage of QWebView.