<scene>
	
  <!--container name="scene" content="data/partials/scene.xml" state_stop="1"/-->
  <container centerParent="1" name="scene" content="data/scenes/main_menu/metascene.xml" state_stop="1"/>







  <container y="620" w="220" h="220" name="moregames" content="data/moregames/button.xml">
    
    <state name="map" x="-500" y="620" w="220" h="220"/>
    <state name="upgrade" x="-500" y="620" w="220" h="220"/>
    <state name="tutorial" x="-500" y="620" w="220" h="220"/>
        
  </container>



 



 


  
  
  
 
   
   <container centerParent="1"  w="1400" h="768" child_hit_test="1">  
    
 
   
           <container w='1024' h='768' x='188' y='0' content="data/scenes/main_menu/popups/exit.xml" />
          <container w='1024' h='768' x='188' y='0' content="data/scenes/main_menu/popups/timerselect.xml" />
          

          <container w='1024' h='768' x='188' y='0' content="data/scenes/main_menu/popups/options.xml" />
          <container w='1024' h='768' x='188' y='0' content="data/scenes/main_menu/popups/users.xml" />
          <container w='730' h='660' x='188' y='0' content="data/scenes/main_menu/popups/add_user.xml" />
          
          <container w='730' h='670' x='188' y='0' content="data/scenes/main_menu/popups/username_used.xml" />
          
          <container w='730' h='670' x='188' y='0' content="data/scenes/main_menu/popups/delete_user.xml" />  
          
          <container w='1024' h='768' x='188' y='0'  content="data/scenes/main_menu/popups/tutorial.xml" />        
          <container w='1024' h='768' x='188' y='0'  content="data/scenes/main_menu/popups/upgrade_popup.xml" />
 
          <container x='178' content="data/scenes/main_menu/episodes_dragbox.xml" />
          <container x='188' content="data/scenes/main_menu/level_list.xml" />

 
    </container>
 
 <container x="-800" y="570" w="200" h="300" content="data/scenes/main_menu/map_bottom_left.xml" />
  <container x="-800" y="650" w="200" h="300" content="data/scenes/main_menu/levels_bottom_left.xml" />
  <container x="-800" y="650" w="200" h="300" content="data/scenes/main_menu/episodes_bottom_left.xml" />
  
  <container   parentAlign="right" parentVAlign="bottom" w="274" h="227"   >
      
      <container x="1800" y="600" w="274" h="227" content="data/scenes/main_menu/map_bottom_right.xml" />
	</container>

   <container centerParent="1"  w="1400" h="768" child_hit_test="1">  
    
          <container w="1024" h="768" x='288' y='-800' content="data/scenes/main_menu/popups/credits.xml"/>
          <container w="1024" h="768" x='221' y='-800' content="data/scenes/main_menu/popups/info.xml"/>
            
    </container>
    
  <container centerParent="1"  w="1400" h="768" child_hit_test="1">
          <container                   x="408" y="850" w="620" h="370" visible="0">
            <state name="map"          x="408" y="611" w="620" h="370" visible="1" color="ffffffff"/>
            <state name="hide"         x="408" y="850" w="620" h="300" />
            <state name="episodes"     x="408" y="850" w="620" h="300" />
            <state name="powerup_shop" x="408" y="850" w="620" h="300" />
            <state name="timerselect"  x="408" y="850" w="620" h="300" />
            <state name="upgrade_popup"  x="408" y="850" w="620" h="300" />
            <container x="430" y="10" name="upgrade_menu_4" content="data/scenes/main_menu/upgrades/upgrade_menu.xml" />
            <container x="290" y="10" name="upgrade_menu_3" content="data/scenes/main_menu/upgrades/upgrade_menu.xml" />
            <container x="150" y="10" name="upgrade_menu_2" content="data/scenes/main_menu/upgrades/upgrade_menu.xml" />
            <container x="10" y="10" name="upgrade_menu_1" content="data/scenes/main_menu/upgrades/upgrade_menu.xml" />

          </container>
          
        
    <container content="data/scenes/main_menu/menu.xml" />

           <container x="300" y="0" w="600" h="450"> 
                  <state name="map" x="300" y="-500" w="600" h="450" />
                  <state name="upgrade" x="300" y="-500" w="600" h="450" />
                  <state name="tutorial" x="300" y="-500" w="600" h="450" />
                  <state name="options" x="300" y="-500" w="600" h="450" />
                  <state name="exit" x="300" y="-500" w="600" h="450" />
                  <state name="users" x="300" y="-500" w="600" h="450" />
                  <state name="credits" x="300" y="-500" w="600" h="450" />
                  <state name="info" x="300" y="-500" w="600" h="450" />
                    
                  <image x="90" y="20"  filename="data/logo.png" />
                  <image x="219" y="280"  filename="data/gui/change_users_panel.png" />
                  <text name="welcome_text" x="390" y="295" align="center" color="ffffffaa" dataSource="MGUsersController welcomeUserText" font="data/fonts/dsgoose_26_simple.xml" />
                  

                  <button x="285" y="320" w="215" h="25" on_click="setState:users">
                    <image name="default" x="0" y="0" filename="data/gui/buttons/cu_d.png" visible="1" />
                    <image name="active" x="0" y="0" filename="data/gui/buttons/cu_a.png" visible="0" />
                    <image name="pressed" x="3" y="5" filename="data/gui/buttons/cu_a.png" visible="0" />
                  </button>

          </container>    



 </container>

  

	
	
  <image filename="data/backgrounds/loading_sm.jpg" w="1024" h="768"  color="ffffff00" visible="0" enabled="0">
    <state name="start" color="ffffffff" visible="1" w="1024" h="768"/>
    <transition from="start" to="default" time="2.5"/>
  </image>



  <container w='1024' h='768' x='0' y='0' content="data/scenes/main_menu/popups/add_first_user.xml" />    


    



  <container  content="data/scenes/main_menu/popups/all_levels_complete.xml"/>

  
  <container x="-1024" y="0" w="1024" h="768">
    <state name="hide" x="0" y="0" w="1024" h="768" />
    <state name="map" x="-1024" y="0" w="1024" h="768" />
    <state name="upgrade" x="-1024" y="0" w="1024" h="768" />

    <button x="0" y="0" w="1400" h="768" on_click="setState:map">
      <image name="default" x="0" y="0"  visible="1" />
      <image name="active" x="0" y="0"  visible="0" />
      <image name="pressed" x="5" y="5"  visible="0" />
    </button>
  </container>



 <container x="0" y="0" w="1024" h="768" content="data/scenes/nag/nag.xml" child_hit_test="1"/>
 	
  
  
  	<container centerParent="1" x="0" y="0" w='1600' h='1300' visible='0' name="iap_loading"> 
	 <image w="1600" h="1300" x="0" y="0" color="000000bb" />
	
	    <container x="800" y="650" w='50' h='50' > 
      	  
          <affine_animation  filename="data/gui/animations/rotate.anim.xml" autoremove="0">
             <particle_system  x="-52" y="-72" filename="data/gfx/particles/rcp_2.png" start_color="ffffffff" end_color="ffffff33" start_size="1" end_size="0.3" >
                   <particle_emitter 
	energy_min="1.0" 
	energy_max="2.8" 
	once="0" speed="30" 
	direction="0"
  spread="20" 
	speed_min="0" 
	speed_max="15"
	
	radial_min="10" radial_max="15" tangential_min="10" tangential_max="15"
	
	  position_left="0" 
	  position_top="0"
	  position_right="0"
	  position_bottom="0"
	
	/>
    </particle_system>  
    
      
    </affine_animation>
    


  
   <text x="0" y="-10" align="center" color="fffedd" dataSource="" name="score" text="Loading" font="data/fonts/dsgoose_20_simple.xml" />
	</container>
</container> 
  
  
 
	<container centerParent="1" x="0" y="0" w='1600' h='1300' visible='0' name="iap_loading"> 
	 <image w="1600" h="1300" x="0" y="0" color="000000bb" />
	
	    <container x="800" y="650" w='50' h='50' > 
      	 
          <affine_animation  filename="data/gui/animations/rotate.anim.xml" autoremove="0">
             <particle_system  w="30" h="30" x="-32" y="-52" filename="data/gfx/particles/sparcle_1.png" start_color="ffffffff" end_color="ffffff00" start_size="0.1" end_size="0.7" >
                   <particle_emitter 
	energy_min="1.0" 
	energy_max="2.8" 
	once="0" speed="20" 
	direction="0"
  spread="20" 
	speed_min="0" 
	speed_max="40"
	
	radial_min="10" radial_max="15" tangential_min="10" tangential_max="15"
	
	  position_left="0" 
	  position_top="0"
	  position_right="0"
	  position_bottom="0"
	    spin_min="10"
spin_max="380"
	/>
    </particle_system>  
    
     
    </affine_animation>
    

  <!--image x="-80" y="-80" filename="data/gui/loading_iap_top.png" /-->
  
   <text x="0" y="-10" align="center" color="fffedd" dataSource="" name="score" text="Loading" font="data/fonts/dsgoose_20_simple.xml" />
	</container>
</container> 
  
  

      
</scene>
