Classes on Corona?

Hey there!
I’m new around. I’m a graphic and web designer with experience on a lot of stuff. Stuff like: Actionscript.
On Actionscript i’m used to the wonderful of Classes. Using different Classes for different methods and screens. Even to use MVC design pattern.

So… how can I accomplish this on Lua/Corona? This must be a really easy question but… I’m really new to Corona and to start… I would like to know this so I can organize my projects better. [import]uid: 35508 topic_id: 6201 reply_id: 306201[/import]

There are a number of ways to do object-oriented programming in Lua. Here’s my approach:
http://developer.anscamobile.com/code/object-oriented-sample-game-framework [import]uid: 12108 topic_id: 6201 reply_id: 21282[/import]

Interesting… i will check it more carefully later.
My doubt was how to make simple classes so I can do my own framework. Just the simple knowledge.

I’ll check that framework it seems interesting. [import]uid: 35508 topic_id: 6201 reply_id: 21297[/import]

http://developer.anscamobile.com/forum/2010/11/09/modules-vs-classes
http://developer.anscamobile.com/forum/2011/01/21/oop-game-classes-objects-inheritance-methods-properties
http://developer.anscamobile.com/forum/2011/01/19/big-refactor#comment-17393
http://developer.anscamobile.com/forum/2009/12/30/lua-classes

“MiddleClass” looks good but i had some scope issues when i tested it quickly. will check it again [import]uid: 6645 topic_id: 6201 reply_id: 21313[/import]