Search found 33 matches

by Star Crunch
Sun Jan 10, 2010 9:31 pm
Forum: General
Topic: A Lua/Love user's dream gift list
Replies: 6
Views: 5445

Re: A Lua/Love user's dream gift list

I have books #1 and #3 and they're both excellent. As for #5, it's worth pointing out that the entire wiki is full of good stuff, not just the tutorials, once you've got your footing. At least one of the recent Game Programming Gems books had a Lua article, though that might be a bit pricey if you d...
by Star Crunch
Sun Jan 10, 2010 7:17 pm
Forum: General
Topic: Lua 5.2 (work snapshot)
Replies: 3
Views: 3324

Re: Lua 5.2 (work snapshot)

Cool, good to know.

And yeah, though I wasn't specific about it, my question was in the context of once this has become official. (Likewise
with my own integration.)
by Star Crunch
Sun Jan 10, 2010 7:55 am
Forum: General
Topic: Lua 5.2 (work snapshot)
Replies: 3
Views: 3324

Lua 5.2 (work snapshot)

Lua 5.2.0 (work) This could be a while off still (there's some outcry over the environment stuff and built-in bit library, for instance), but here's a heads-up so you can take a look. It doesn't look too drastic, but I'm curious to know if this would mean an update (assuming all libraries were brou...
by Star Crunch
Sun Jan 10, 2010 6:41 am
Forum: Support and Development
Topic: Camera in 0.6.0
Replies: 18
Views: 13058

Re: Camera in 0.6.0

I thought I saw a lib to do that a while ago, but I couldn't find it anymore.. Maybe one of these? http://cairographics.org http://www.antigrain.com Cairo has a few bindings: http://luaforge.net/projects/luacairo http://luaforge.net/projects/oocairo http://www.dynaset.org/dogusanh/luacairo.html I t...
by Star Crunch
Sat Oct 31, 2009 11:38 pm
Forum: General
Topic: LuaJIT 2.0
Replies: 10
Views: 17831

LuaJIT 2.0

This was posted about a half hour ago on the Lua mailing list: It's almost midnight on Halloween here. This is the perfect time to release long-awaited, almost mythical open source software ... ;-) Yes, here it is: the first public release of LuaJIT 2.0! Here is a link to the home page: http://luaji...
by Star Crunch
Sun Jul 05, 2009 11:41 pm
Forum: General
Topic: Feature request for 0.6
Replies: 3
Views: 3646

Re: Feature request for 0.6

I needed this feature to port TacoShell [1] to LÖVE. You can take a look at it in the demo, if you want. It uses my own class system and a couple helper utilities, but nothing really esoteric. Here follows a poorly-summarized description. :P (So far I've only done the demo and some prototyping, so I...
by Star Crunch
Mon Jun 22, 2009 8:06 pm
Forum: General
Topic: Recent Lua Library Findings
Replies: 11
Views: 8704

Re: Recent Lua Library Findings

After dabbling in Scheme/Lisp and Io, I've been craving some metaprogramming facilities in Lua. I find myself repeating code that could be abstracted away with macros. Has anyone else looked into this? You ought to take a look at Metalua . Others along the same lines include LuaFish (mentions a cou...
by Star Crunch
Sun Jun 07, 2009 1:26 am
Forum: General
Topic: Please Help, THis error is driving me Insane!
Replies: 6
Views: 8094

Re: Please Help, THis error is driving me Insane!

You're passing a table, v, as the first argument to draw, whereas I'm guessing you want a string. If you pass Tab[1] instead, you should get something like: 200*, 300, a rapidly changing number between 1 and 360, and then "lowe", all spinning really fast. If you want "Marlowe", y...
by Star Crunch
Sat Jun 06, 2009 10:41 pm
Forum: General
Topic: Im New, And I Need Some Help.
Replies: 5
Views: 5693

Re: Im New, And I Need Some Help.

coroutine.resume() returns a boolean as the first argument, followed by your yield values. So you're doing something like love.graphics.setBackgroundColor(true, 38, 92).

If you don't need fine control, like checking the coroutine status and such, you may want to go with coroutine.wrap() instead.
by Star Crunch
Sat Jun 06, 2009 10:21 pm
Forum: General
Topic: Classes and Inheritance
Replies: 2
Views: 5918

Re: Classes and Inheritance

This is most likely because you do "Object.clone()" and "Entity.clone" where you mean "Object:clone()" and "Entity:clone()". This leaves parent nil... and thus prototype is nil, so when your __index method tries to index that and finds it missing, it does an _...