MODULES IN LUA

Today marks the day I start development on Postman, my first “real” game, so it also marks the start of my posts. I feel in starting this series, I should start with one of the first things that I personally feel should be figured out (from strictly a programming standpoint, that is). In any larger project, modules are going to save your life, so we are going to start off by looking at them in the context of Lua/Love2D. Now, I already had the “final product” of this post figured out before starting this game, but I will instead start earlier, demonstrating a method that may be an unfortunate first instinct for modules, as well as showing the general progression my method of using modules undertook.

Continue reading →