The famous Directors Class from a high level

Can anyone explain to me what the Directors Class does on a high level? It seems to handle scene transition and make the arrangement of code more Object Orientated. Putting different elements and levels into separate .lua files. Instead of having them all combined into the main.lua. Is this about right?

Sorry i’m new to programming and suffer from stupidity [import]uid: 26289 topic_id: 10148 reply_id: 310148[/import]

Hey Cell; It just takes a lot of studying and review. You can start slow with pieces of Code.

I first started with this video; the video is a bit older but it is still a very good starting point.

http://www.youtube.com/watch?v=RAktnj7nwos

Then from there I would get this open source and just break it down piece by piece.

http://developer.anscamobile.com/code/ghosts-vs-monsters

With a bit of practice and time it will start to make sense. I started 17 weeks ago and I am about four weeks from submitting my first App.

Hope that helps a little bit.

Rob

[import]uid: 16527 topic_id: 10148 reply_id: 37036[/import]

Thanks Rob. Yeah i’ve been picking apart all the code i can get my hands on. Good luck with your app [import]uid: 26289 topic_id: 10148 reply_id: 37038[/import]

High level view – puts all the display objects in a display group so when you switch away to another screen (group) it can dispose of them all and transition you nicely to the next screen full of display objects.

That might be too high-level, but that’s what it does. It appears to be magic, but it’s just a *very* handy code library. :slight_smile:

Jay
[import]uid: 9440 topic_id: 10148 reply_id: 37057[/import]

Cheers Jay that was really helpful. It seems like an awesome addition to a Corona dev’s toolkit.
[import]uid: 26289 topic_id: 10148 reply_id: 37060[/import]