Live data from Hacker News

LÖVE 0.10 released with iOS and Android support

love2d.org

31–40 of 100 posts

Re: LÖVE 0.10 released with iOS and Android support

#32

How does LÖVE compare with Corona SDK, a commercial Lua-based mobile framework?

Love is a bit more 'low level' than Corona. In LÖVE you have direct control over what gets drawn each frame, wheras in Corona you are more working with a scene graph (nested display objects).

Re: LÖVE 0.10 released with iOS and Android support

#33
post #11

I would love to tinker with LÖVE, but I don't know the first thing about Lua. Anyone have pointers to good introductory resources they can share?

"Programming in Lua" is Lua's K&R. It is a very well written technical book. The Lua reference manual is also very approachable. http://www.lua.org/pil/ http://www.lua.org/manual/5.3/

Löve uses luajit by default, which is Lua 5.1 with some 5.2 sprinkled on top.

Re: LÖVE 0.10 released with iOS and Android support

#34

I would love to tinker with LÖVE, but I don't know the first thing about Lua. Anyone have pointers to good introductory resources they can share?

If you have some experience with javascript, Lua's syntax, scoping and structure are fairly similar to that of ECMAScript 5. That's a very macro and broad comparison of it, but if you have scripting language experience, you'll be fine.

Re: LÖVE 0.10 released with iOS and Android support

#37
post #22
post #12

Lack of native mobile support was one of the reasons I dropped LOVE for other frameworks. This is fantastic, and LOVE/Lua is really fun to work with, I highly recommend this framework.

Does love work well with moonscript?

While we're at it: everyone, check out MoonScript [1]. It's a great, succinct and featureful compile-to-Lua language, although sadly not very widespread at the moment. It features significant whitespace, syntactic sugar to reduce keyword noise in programs, table and list comprehensions, line (statement) decorators, classes, export and import for working with modules, implicit return, JSON-like table literals and much, much more. I, for one, absolutely love working with it.

[1]: http://moonscript.org

Re: LÖVE 0.10 released with iOS and Android support

#38

I would love to tinker with LÖVE, but I don't know the first thing about Lua. Anyone have pointers to good introductory resources they can share?

You can pretty much learn the language in 1 - 2 days if you are an experienced programmer. Try the LUA website, they have some links to good tutorials.

From http://www.lua.org/about.html:

> "Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!

Re: LÖVE 0.10 released with iOS and Android support

#39
This is wonderful. I'm quite fond of Lua and while I've tinkered with LÖVE here and there, the lack of mobile support turned me off from using it for serious projects. I'll be giving it another look soon.

As an aside, I'd like to plug a Lua library I have nothing to do with called middleclass [1]. I've used it with LÖVE and it's handy for game dev!

[1] https://github.com/kikito/middleclass

Post reply on HN