<tutorial parent="/" closebytap="yes" cascadeopacity="yes" center="0x0" z="9999" nexttutorial="map.flag">
  <children>
    <node name="shadow" type="sprite" image="images/hystory/shadow_quest.png" opacity="255" pos="frame:0.5x0.5" center="0.5x0.5" z="-1" scale="10x10"/>
    <node name="1" type="sprite" image="images/hystory/2.png" center="1x0" pos="-50x0" scale="-1x1"/>
    <node name="2" type="sprite" image="images/hystory/cloud.png" pos="650x130" scale="1x1"/>
    <node name="text" text="#map_quest_tutorial_1#" type="text" font="fonts/mdefensefont2.fnt" center="0.5x0.5" pos="650x130" textwidth="600" textalign="center" scale="0.45x0.45" strech="700x270:min" color="FADE72" z="1"/>
  </children>

  <actions>
    <action name="fadein" value="FadeIn[0.2]"/>
    <action name="button" value="
              RepeatForever
              [
                Sequence[
                Spawn
                [
                  Sequence[EaseOut[MoveBy[0.2,0,20],2],BounceOut[MoveBy[0.6,0,-20]]],
                  Sequence[EaseInOut[RotateTo[0.6,10],2],EaseOut[RotateTo[0.2,-5],2],EaseInOut[RotateTo[0.1,0],2]]
                ],DelayTime[5]]
              ]
            "/>
  </actions>
  <events>
    <eventlist name="onenter">
      <statistic_accumulate event="tutorial_quest_1" params="begin:quest_2"/>
      <setproperty property="opacity" value="0"/>
      <setproperty property="giftiz" value="missioncomplited" target="/maplayer"/>
      <runaction action="fadein"/>
    </eventlist>
    <eventlist name="onexit">
      <statistic_accumulate event="tutorial_quest_1" params="end:quest_2" push="yes"/>
      <runaction action="button" target="/maplayer/mainmenu/game"/>
    </eventlist>
  </events>

</tutorial>