Varun Ramesh's Blog


Articles about the Lua programming language.

How I Structure GameObjects - Components and Mixin-based Inheritance

November 2nd

My recent game projects have used a GameObject architecture that unifies Component-based GameObjects and Mixin-based inheritance.

Lua Gotchas

October 20th

Lua is an awesome language, but it has some annoying features that have caused endless frustration for me.

Composable, Programmatic Animations for Games

September 4th

This post describes a method for creating animations in games programmatically, while still retaining composability.

Stackless vs. Stackful Coroutines

August 18th

Coroutines can either be stackless or stackful. The terminology is somewhat confusing.