Search found 3 matches

by Schoon
Sun Jul 26, 2009 3:38 pm
Forum: General
Topic: Where do you check for keyboard input
Replies: 16
Views: 14514

Re: Where do you check for keyboard input

I'd like to see the performance discussion quelled, as I don't think it's a meaningful debate in this case. If you're using isDown, you're doing a lookup to determine the state of a particular key within the keyboard as a whole. If you store the state in a Lua table and referencing that index in pla...
by Schoon
Sun Jul 26, 2009 3:23 pm
Forum: General
Topic: Question:How to display miltiple images in different timing
Replies: 3
Views: 4386

Re: Question:How to display miltiple images in different timing

Alternatively, if you really want to think of it as three distinct time periods: AB, BC, and CD, then do this: function draw() if elapsed >= 1.0 and elapsed < 6.0 then love.graphics.draw(image1, 100, 100) love.graphics.draw(image2, 200, 100) elseif elapsed >= 6.0 and elapsed < 10.0 then love.graphic...
by Schoon
Sun Jul 26, 2009 3:06 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1180531

Re: Avatars: OBEY!

And I join the fray. I present to you:

OBEY: The programming language.

(I'm really surprised it wasn't already done!)