Question about classes in Lua

I'm not sure if this is posted in the right forum, I'm a noob. Also I feel like this question has probably been answered but I'm apparently not entering the right string into Google!

I am coming from Actionscript 3.0 where classes are defined in individual .as files. I've been reading up on how to do "classes" (prototypes) in lua, but I was wondering where do they go? Do I have to put them all in the main.lua file? Or can I create separate .lua files for each class to keep them modularized? How does it work?

Thanks! :)
Amber

I believe this should help you out; http://blog.anscamobile.com/2011/09/tutorial-modular-classes-in-corona/

If it leaves anything unanswered please let me know :)

Peach

views:1422 update:2011/10/22 9:46:13
corona forums © 2003-2011