What is the best way to go about building a game with gui’s and multiple levels in away 3d 4?
A) At the launch of the game, the view is created but hidden from the user by gui menus. When the user selects levels through a gui menu, the new level class adds the game objects to the view. The level becomes visible(gui hides) once all objects are added to the view. When going to another level, a gui appears and hides the 3d view. While the 3d view is hidden, remove all the children of the view, cleanup, then call the next level class and so on.
B) At the launch of the game, there is a level selection gui menu. When the user selects levels through the gui, the new level class creates a new view and adds all the game objects to its view. The level becomes visible(gui hides) once all objects are added to the view. When going to another level, a gui appears and hides the 3d view. While the 3d view is hidden, remove all children of the view, cleanup, dispose of the view, then call the next level class and so on.
C) Some other method…
Appreciate the comments. Thanks.