Even though Lua doesn't have the concept of classes, we can still use tables to simulate them. You can create tables with string to number/string/bool to represent member variables, and string to functions to represent member functions. This would be an example of a table with some of these defined:
I've worked with a handful of scripting languages before (DCL, perl, python) but I've never written more than a few projects in any one. Since you are usually doing something pretty simple with them, I typically just find a tutorial, and look up just enough to get my work done.
I'm just going to list some … Continue Reading ››
Moai's website has most of what you need to get started. You'll need to sign up to get to the download link, which is free. Moai is actually a few other services along with the middleware for game development. The part you are looking for is the Moai SDK. The other services … Continue Reading ››