When you switch between say menus how are you guys nesting that structure? Should I just create view groups and then set them to invisible? If I do it that way how can I destroy the entire group?
Also if I remove an object will any table references to that object just become nil? [import]uid: 45163 topic_id: 8950 reply_id: 308950[/import]
Check out the Director class, its used to switch between scenes. If thats what your looking for?
http://developer.anscamobile.com/code/director-class-10
–Chris [import]uid: 17138 topic_id: 8950 reply_id: 32717[/import]
When you switch between say menus how are you guys nesting that structure?
This is usually done by making each screen a display group, mentioned in the docs here:
http://developer.anscamobile.com/content/application-programming-guide-common-design-tasks
For example, here’s code showing how I do it:
http://developer.anscamobile.com/code/object-oriented-sample-game-framework
Also if I remove an object will any table references to that object just become nil?
No, explained here:
http://developer.anscamobile.com/content/app-programming-guide#Variable_References [import]uid: 12108 topic_id: 8950 reply_id: 32720[/import]