Hello, all! I was put off by LÖVE for quite a while, (from 0.2.1 until today actually) and I realized I had some things I should share.. The first is a (slightly) updated version of the charas/walkdemo that somehow never became a tutorial. The other is tentatively "Operation Hamster" and (so far) fe...

Hehe, peeked at the code. Looks like you've built a nice little framework. So about input.context, do you do something like this somewhere? (code ...) I failed at finding this redirection in your code (didn't look very hard ;) ). (So close... keep reading) Like this! local dispatch dispatch = funct...

Ok, I think I've worked out roughly how I'd like input to work, thought I'd share. It's like this: Bindings are collected in contexts, (since you'd like it to be modal) that are stacked. (so menus, minigames, &c needn't worry about where they were activated from) callbacks can have any amount of use...

Charas sprite character tutorial A person sprite walking around is a common component of games, so let's look at how you can get that with a minimum of fuss. (The easiest thing is of course to simply use the files from this demo, and I encourage you to do so, but let's take a closer look) Let's get ...

There are a gazillion implementations of OOP in lua. This, unfortunately, is part of the problem. Another part is that there's really no known way so far of getting it quite right. To see why, let's dissect my suggested version: obj = {} -- the ur-instance. needed, obviously function obj:new(o, ......

I've been tinkering, and I've come to a disturbing conclusion: OO in Lua desperately needs a tutorial. Otherwise I'd'a been happy to show other nice things like scenegraph, (fancy name for hierarchy of objects in the world) input system, with stack (so you can enter/leave modes/menus) charas walking...

No problem. ^^ Yes, of course, but I was thinking of what happens after that. If you do glBegin() ... glEnd or glDrawArray. I'm thinking the right way to do it (later, much later) is to keep special vertex- and vertexarray classes to keep this tidy and speedy. But that's Premature Optimization, so ...