Classes

Hello!

I have looked at some of the examples avaliable in Codea, for example the 3d lab and the physics lab. I have plans for making a simple game with various scenes but i need to learn how classes works and how to change between them! Can someone please explain how to do that?

http://codeatuts.blogspot.com.au/2012/08/interlude-11-classes-in-lua-and-codea.html

@Ignatz has written up a rather nice pdf on beggining principles on lua.
http://coolcodea.wordpress.com/2013/06/17/update-to-lua-for-beginners-ebook/

Thanks

Also here.
http://coolcodea.wordpress.com/2013/03/22/7-classes-in-codea/
And here
http://coolcodea.wordpress.com/2013/03/23/8-classes-in-codea-2/