I just found this great guide on creating modules (thanks @Ragetto for pointing me towards using them in the first place), it provides some great standards for how to both require and actually write them. Some of it doesn’t apply to defold, but it’s still very useful stuff.
http://kiki.to/blog/2014/03/30/a-guide-to-authoring-lua-modules/
10 Likes