<scene>
  <container content="data/partials/balls_preload.xml" />
  
  <container content="data/partials/main/map.xml" visible="0" />
  
  
  
  <container name="scene" content="data/partials/main/scene.xml" state_stop="1" w='1024' h='768'>
    <state name="map" visible="0" color="ffffff00"/>
    <state name="building" visible="1" color="ffffffff"/>
  </container>
  
  
  <container content="data/partials/main/building.xml" visible="0" child_hit_test="1">
    <state name="map" visible="0" color="ffffff00"/>
    <state name="building" visible="1" color="ffffffff" on_end="highlightPossibleUpgrades"/>
    <state name="default" visible="0" color="ffffffff"/>
    <state name="achivements" visible="1" color="ffffffff"/>
  </container>
    
  <container w='730' h='400' x="157" y="40" child_hit_test="1">
    <state name="map" x="157" y="-400"/>
    <state name="building" x="157" y="-400"/>
	  <state name="credits" x="157" y="-400"/>
      
    <image x="185" y="-2" filename="data/logo_ingame.png" />

    <text name="welcome_text" x="355" y="145" align="center" color="ffffffaa" text="Welcome, Username" font="data/fonts/calibri28.xml" />

    <button x="250" y="170" 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 x="240" y="575" content="data/partials/main/menu.xml" child_hit_test="1">
    <state name="map" x="240" y="800" />
    <state name="building" x="240" y="800" />
	 <state name="credits" x="240" y="800" />
  </container>

<!--
  <container w="330" h="120" x="525" y="320" name="classic_hint" color="ffffff00">
    <state name="classic_hint" color="ffffffff" x="525" y="320"/>

    <image9 w="200" h="120" filename="data/gui/big_cb_composit3.png" corner="38"/>

    <text x="10" y="10" align="left" color="fffeddf0" text="Get the highest" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="10" y="25" align="left" color="fffeddf0" text="score on a " font="data/fonts/dsgoose_20_simple.xml" />
    <text x="10" y="40" align="left" color="fffeddf0" text="classical lines" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="10" y="55" align="left" color="fffeddf0" text="level" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="10" y="70" align="left" color="fffeddf0" name="best_endless_score" text="" font="data/fonts/dsgoose_20_simple.xml" />

  </container>


  <container w="330" h="100" x="525" y="260" name="puzzle_hint" color="ffffff00">
    <state name="puzzle_hint" color="ffffffff" x="525" y="260"/>

    <image9 w="200" h="85" filename="data/gui/big_cb_composit3.png" corner="38"/>

    <text x="10" y="10" align="left" color="fffeddf0" text="Complete a set" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="10" y="25" align="left" color="fffeddf0" text="of puzzle levels" font="data/fonts/dsgoose_20_simple.xml" />


  </container>
-->



  <container w='730' h='460' x='0' y='0' name="options_popup" visible="0" content="data/partials/main/options_popup.xml" />

  <container w='730' h='460' x='0' y='0' name="exit_popup" visible="0" content="data/partials/main/exit_popup.xml" />

  <container w='730' h='460' x='0' y='0' name="users_popup" visible="0" content="data/partials/main/users_popup.xml" />

  <container w='730' h='460' x='0' y='0' name="add_user_popup" visible="0" content="data/partials/main/add_user_popup.xml" />

  <container w='730' h='460' x='0' y='0' name="add_first_user_popup" visible="0" content="data/partials/main/add_first_user_popup.xml" />
  
  
   <container w='1024' h='768' x="0" y="768" name="credits" visible="0" content="data/partials/main/credits.xml" />
   <container w='1024' h='768' x='0' y='0' name="credits_button" visible="0" content="data/partials/main/credits2.xml" />
  
  <image x="-500" y="0 " w="500" h="768" filename="data/gfx/side.jpg" />
  <image x="1024" y="0 " w="500" h="768" filename="data/gfx/side.jpg" />
	 

	 
	 	  <image x="-300" y="-200 " w="1700" h="200" filename="data/gfx/side.jpg" />
	  <image x="-300" y="768 " w="1700" h="200" filename="data/gfx/side.jpg" />
	  
	  
</scene>
