<scene>
  
  <container content="data/partials/scene.xml"/>
  
  <container content="data/partials/scene_buttons.xml"/>

  <image x="665" y="55" filename="data/gfx/upgrade_points.png" />
  <text x="960" y="80"  align="right" text="可升级分值:" font="data/fonts/dsgoose_20_simple.xml" />
  <text name="tokens_count" x="965" y="80"  align="left" text="10" font="data/fonts/dsgoose_20_simple.xml" />




  <container w="350" h="100" x="665" y="115" name="1" color="ffffff00">
    <state name="snowman" color="ffffffff" x="665" y="115"/>
    <state name="snowmandef" color="ffffff00" x="665" y="115"/>

    <image x="0" y="0" filename="data/gfx/upgrade_tooltip.png" />

    <text x="130" y="30"  align="Center" text="雪人" font="data/fonts/dsgoose_26_simple.xml" />
    <text x="100" y="50"  align="Center" text="花费5分" font="data/fonts/dsgoose_20_simple.xml" />

  </container>  




  <container w="220" h="50" x="780" y="7" name="2" color="ffffffff" on_enter ="setState:levelsbut" >
    <state name="levels" color="ffffffff" x="780" y="7"/>
    <state name="levelsbut" color="ffffffff" x="630" y="7"/>
    <state name="levelsdef" color="ffffffff" x="780" y="7"/>

    <image x="0" y="0" filename="data/gfx/current_level.png" />


    <text x="170" y="24"  align="right" text="当前级别:" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="175" y="20"  align="left"  name="level_name" text="ln" font="data/fonts/dsgoose_26_simple.xml" />


  </container>  


  <container w="220" h="50" x="1280" y="7" name="2" color="ffffffff"  >
    <state name="levels" color="ffffffff" x="1280" y="7"/>
    <state name="levelsdef" color="ffffffff" x="1280" y="7"/>
    <state name="levelsbut" color="ffffffff" x="875" y="7"/>

    <button x="0" y="0" w="140" h="50" on_click="setState:levels" >
      <image name="default" x="0" y="0" filename="data/gui/buttons/change_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/change_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/change_a.png" visible="0" />
    </button>

  </container>  



  


  <!--text x="525" y="15"  align="center" text="Game Progress" font="data/fonts/dsgoose_26_simple.xml" /-->

<container w="1000" h="220" x="0" y="-300" name="levels2" color="ffffffff" on_leave ="setState:levelsdef">
     <state name="levels" color="ffffffff" x="0" y="-2"/>
	 <state name="levelsdef" color="ffffffff" x="0" y="-300"/>

<image x="0" y="0" filename="data/gfx/under_levels.png" />
	
	



  

  <button x="25" y="60" content="data/partials/map_point.xml" on_click="setLevel:00" name="lb0"/>
  
  <button x="50" y="30" content="data/partials/map_point.xml" on_click="setLevel:01" name="lb1"/>
  <button x="75" y="50" content="data/partials/map_point.xml" on_click="setLevel:02" name="lb2"/>
  
  <button x="100" y="30" content="data/partials/map_point.xml" on_click="setLevel:03"  name="lb3"/>
  <button x="125" y="50" content="data/partials/map_point.xml" on_click="setLevel:04"  name="lb4"/>
  <button x="150" y="30" content="data/partials/map_point.xml" on_click="setLevel:05"  name="lb5"/>
  <button x="175" y="50" content="data/partials/map_point.xml" on_click="setLevel:06"  name="lb6"/>
  <button x="200" y="30" content="data/partials/map_point.xml" on_click="setLevel:07"  name="lb7"/>
  <button x="225" y="50" content="data/partials/map_point.xml" on_click="setLevel:08"  name="lb8"/>
  <button x="250" y="30" content="data/partials/map_point.xml" on_click="setLevel:09"  name="lb9"/>
  <button x="275" y="50" content="data/partials/map_point.xml" on_click="setLevel:10"  name="lb10"/>
  <button x="300" y="30" content="data/partials/map_point.xml" on_click="setLevel:11"  name="lb11"/>
  <button x="325" y="50" content="data/partials/map_point.xml" on_click="setLevel:12"  name="lb12"/>
  
  
  <button x="350" y="30" content="data/partials/map_point.xml" on_click="setLevel:13"  name="lb13"/>
  <button x="375" y="50" content="data/partials/map_point.xml" on_click="setLevel:14"  name="lb14"/>
  
  <button x="400" y="30" content="data/partials/map_point.xml" on_click="setLevel:15"  name="lb15"/>
  <button x="425" y="50" content="data/partials/map_point.xml" on_click="setLevel:16"  name="lb16"/>
  <button x="450" y="30" content="data/partials/map_point.xml" on_click="setLevel:17"  name="lb17"/>
  <button x="475" y="50" content="data/partials/map_point.xml" on_click="setLevel:18"  name="lb18"/>
  
  <button x="500" y="30" content="data/partials/map_point.xml" on_click="setLevel:19"  name="lb19"/>
  <button x="525" y="50" content="data/partials/map_point.xml" on_click="setLevel:20"  name="lb20"/>
  <button x="550" y="30" content="data/partials/map_point.xml" on_click="setLevel:21"  name="lb21"/>
  
  <button x="580" y="40" content="data/partials/map_point.xml" on_click="setLevel:22"  name="lb22"/>
  <button x="580" y="70" content="data/partials/map_point.xml" on_click="setLevel:23"  name="lb23"/>
  <button x="580" y="100" content="data/partials/map_point.xml" on_click="setLevel:24"  name="lb24"/>
  
  <button x="550" y="90" content="data/partials/map_point.xml" on_click="setLevel:25"  name="lb25"/>

  <button x="525" y="110" content="data/partials/map_point.xml" on_click="setLevel:26"  name="lb26"/>

  <button x="500" y="90" content="data/partials/map_point.xml" on_click="setLevel:27"  name="lb27"/>


  <button x="475" y="110" content="data/partials/map_point.xml" on_click="setLevel:28"  name="lb28"/>
  
  <button x="450" y="90" content="data/partials/map_point.xml" on_click="setLevel:29"  name="lb29"/>
  <button x="425" y="110" content="data/partials/map_point.xml" on_click="setLevel:30"  name="lb30"/>
  
  <button x="400" y="90" content="data/partials/map_point.xml" on_click="setLevel:31"  name="lb31"/>

  <button x="375" y="110" content="data/partials/map_point.xml" on_click="setLevel:32"  name="lb32"/>
  <button x="350" y="90" content="data/partials/map_point.xml" on_click="setLevel:33"  name="lb33"/>

  <button x="325" y="110" content="data/partials/map_point.xml" on_click="setLevel:34"  name="lb34"/>

  <button x="300" y="90" content="data/partials/map_point.xml" on_click="setLevel:35"  name="lb35"/>

  <button x="275" y="110" content="data/partials/map_point.xml" on_click="setLevel:36"  name="lb36"/>

  <button x="250" y="90" content="data/partials/map_point.xml" on_click="setLevel:37"  name="lb37"/>
  <button x="225" y="110" content="data/partials/map_point.xml" on_click="setLevel:38"  name="lb38"/>
  
  <button x="200" y="90" content="data/partials/map_point.xml" on_click="setLevel:39"  name="lb39"/>
  <button x="175" y="110" content="data/partials/map_point.xml" on_click="setLevel:40"  name="lb40"/>
  <button x="140" y="100" content="data/partials/map_point.xml" on_click="setLevel:41"  name="lb41"/>
  
  </container>  
  
  
  
  



  <!--button x="60" y="645" content="data/partials/map_point.xml" on_click="setLevel:00" name="lb0"/>
  <button x="95" y="645" content="data/partials/map_point.xml" on_click="setLevel:01" name="lb1"/>
  <button x="125" y="650" content="data/partials/map_point.xml" on_click="setLevel:02" name="lb2"/>
  <button x="150" y="670" content="data/partials/map_point.xml" on_click="setLevel:03"  name="lb3"/>
  <button x="170" y="695" content="data/partials/map_point.xml" on_click="setLevel:04"  name="lb4"/>
  <button x="200" y="710" content="data/partials/map_point.xml" on_click="setLevel:05"  name="lb5"/>
  <button x="235" y="715" content="data/partials/map_point.xml" on_click="setLevel:06"  name="lb6"/>
  <button x="265" y="715" content="data/partials/map_point.xml" on_click="setLevel:07"  name="lb7"/>
  <button x="295" y="715" content="data/partials/map_point.xml" on_click="setLevel:08"  name="lb8"/>
  <button x="325" y="715" content="data/partials/map_point.xml" on_click="setLevel:09"  name="lb9"/>
  <button x="355" y="710" content="data/partials/map_point.xml" on_click="setLevel:10"  name="lb10"/>
  <button x="385" y="715" content="data/partials/map_point.xml" on_click="setLevel:11"  name="lb11"/>
  <button x="415" y="715" content="data/partials/map_point.xml" on_click="setLevel:12"  name="lb12"/>
  <button x="445" y="715" content="data/partials/map_point.xml" on_click="setLevel:13"  name="lb13"/>
  <button x="475" y="715" content="data/partials/map_point.xml" on_click="setLevel:14"  name="lb14"/>
  <button x="505" y="715" content="data/partials/map_point.xml" on_click="setLevel:15"  name="lb15"/>
  <button x="535" y="715" content="data/partials/map_point.xml" on_click="setLevel:16"  name="lb16"/>
  <button x="565" y="715" content="data/partials/map_point.xml" on_click="setLevel:17"  name="lb17"/>
  <button x="595" y="715" content="data/partials/map_point.xml" on_click="setLevel:18"  name="lb18"/>
  <button x="625" y="715" content="data/partials/map_point.xml" on_click="setLevel:19"  name="lb19"/>


  <button x="655" y="715" content="data/partials/map_point.xml" on_click="setLevel:20"  name="lb20"/>
  <button x="685" y="715" content="data/partials/map_point.xml" on_click="setLevel:21"  name="lb21"/>
  <button x="715" y="715" content="data/partials/map_point.xml" on_click="setLevel:22"  name="lb22"/>
  <button x="745" y="715" content="data/partials/map_point.xml" on_click="setLevel:23"  name="lb23"/>

  <button x="770" y="690" content="data/partials/map_point.xml" on_click="setLevel:24"  name="lb24"/>
  <button x="760" y="660" content="data/partials/map_point.xml" on_click="setLevel:25"  name="lb25"/>

  <button x="720" y="650" content="data/partials/map_point.xml" on_click="setLevel:26"  name="lb26"/>

  <button x="680" y="655" content="data/partials/map_point.xml" on_click="setLevel:27"  name="lb27"/>


  <button x="640" y="660" content="data/partials/map_point.xml" on_click="setLevel:28"  name="lb28"/>
  <button x="600" y="660" content="data/partials/map_point.xml" on_click="setLevel:29"  name="lb29"/>
  <button x="560" y="660" content="data/partials/map_point.xml" on_click="setLevel:30"  name="lb30"/>
  <button x="520" y="660" content="data/partials/map_point.xml" on_click="setLevel:31"  name="lb31"/>

  <button x="480" y="660" content="data/partials/map_point.xml" on_click="setLevel:32"  name="lb32"/>
  <button x="440" y="660" content="data/partials/map_point.xml" on_click="setLevel:33"  name="lb33"/>

  <button x="400" y="640" content="data/partials/map_point.xml" on_click="setLevel:34"  name="lb34"/>

  <button x="360" y="625" content="data/partials/map_point.xml" on_click="setLevel:35"  name="lb35"/>

  <button x="320" y="615" content="data/partials/map_point.xml" on_click="setLevel:36"  name="lb36"/>

  <button x="280" y="600" content="data/partials/map_point.xml" on_click="setLevel:37"  name="lb37"/>
  <button x="240" y="595" content="data/partials/map_point.xml" on_click="setLevel:38"  name="lb38"/>
  <button x="200" y="585" content="data/partials/map_point.xml" on_click="setLevel:39"  name="lb39"/>
  <button x="215" y="555" content="data/partials/map_point.xml" on_click="setLevel:40"  name="lb40"/>
  <button x="250" y="535" content="data/partials/map_point.xml" on_click="setLevel:41"  name="lb41"/-->








  <!--container w='500' h='100' x='690' y='642'> 
  <image9 w="330" h="138" filename="data/gui/big_cb_composit3.png" corner="38"/>

</container-->



<!--text x="930" y="525"  align="center" text="Your Time:" font="data/fonts/dsgoose_20_simple.xml" />
<text x="930" y="545"  align="center" name="best_time" text="-:-" font="data/fonts/dsgoose_26_simple.xml" /-->


<button x="850" y="570" w="170" h="100" on_click="lightPuzzleGame" on_enter ="setState:snowman" on_leave ="setState:snowmandef">
  <image name="default" x="0" y="0" filename="data/gui/buttons/m_play_d.png" visible="1" />
  <image name="active" x="0" y="0" filename="data/gui/buttons/m_play_a.png" visible="0" />
  <image name="pressed" x="5" y="5" filename="data/gui/buttons/m_play_p.png" visible="0" />
</button>

<button x="865" y="655" w="140" h="50" on_click="loadMainMenu">
  <image name="default" x="0" y="0" filename="data/gui/buttons/back_d.png" visible="1" />
  <image name="active" x="0" y="0" filename="data/gui/buttons/back_a.png" visible="0" />
  <image name="pressed" x="5" y="5" filename="data/gui/buttons/back_p.png" visible="0" />
</button>

<button x="865" y="705" w="140" h="50" on_click="">
  <image name="default" x="0" y="0" filename="data/gui/buttons/hide_d.png" visible="1" />
  <image name="active" x="0" y="0" filename="data/gui/buttons/hide_a.png" visible="0" />
  <image name="pressed" x="5" y="5" filename="data/gui/buttons/hide_a.png" visible="0" />
</button>

<container x="10" y="715" content="data/partials/volume_control.xml"/>

</scene>