Groups and Director class

Hi, I've looked and searched but no answer.
I'm about to implement the director class into my game, but I already have alot of groups in it. The tutorial doesn't mention anything and the question haven't been asked before it seems, oddly.

What do I do with my groups? I use them to order them into z depth as of now and I can only imagine the work it would take to use only one group(localGroup) to do this with director.

Anyone know?

You insert all of your groups into localGroup from back to front. Top most group would be inserted last.

Oh, like this then:

1
2
3
myGroup:insert( background )
myGroup:insert( title )
localGroup:insert( myGroup )

Yes, or you can insert all the groups into the localGroup at the beginning when you create them and they are still empty. Either way works.

views:1219 update:2011/10/20 8:45:16
corona forums © 2003-2011