<tutorial parent="/" z="999">
  <children>
    <node name="npc" type="sprite" image="other::tutorial/npc.png" center="1x0" pos="frame:1x0"/>
    <node name="text" type="node" pos="frame:1x0,add:-570x400">
      <children>
        <node name="bg" type="sprite" image="other::tutorial/baloon.png" pos="0x0"/>
        <node name="value" type="label" pos="0x15" fontttf="fonts/roboto_cn.ttf" textwidth="450" textalign="center" fontsize="25" color="000000"/>
      </children>
    </node>
    <node name="menu" type="menu" pos="frame:0.5x0.5">
      <children>
        <node name="blocker" type="menuitem" imageN="images/square.png" scale="1366x768" opacity="0"/>
        <node name="close" type="menuitem" imageN="images/square.png" scale="1366x768" opacity="0" callback="close" enabled="no" visible="no"/>
      </children>
    </node>
    <node name="taptoclose" type="label" pos="frame:0.5x0,add:0x150" fontttf="fonts/roboto_cn.ttf" textwidth="450" textalign="center" fontsize="25" enableshadow="000000" text="#tap_to_close#" visible="no"/>
    <node name="arrow" type="node" visible="no">
      <children>
        <node name="arrow" type="sprite" image="other::tutorial/arrow.png" pos="0x10"/>
      </children>
    </node>
  </children>

  <actions>
    <action name="delayonclose" value="Sequence[DelayTime[0.1],Show[]]"/>
    <action name="arrow" value="RepeatForever[Sequence[EaseInOut[MoveTo[1,0,0],2],EaseInOut[MoveTo[1,0,10],2]]]"/>
    <action name="show_button" value="Sequence[DelayTime[0.3],ScaleTo[0,0.1,0.1],Show[],BackOut[ScaleTo[0.4,1,1]]]"/>
  </actions>

  <events>
    <eventlist name="onenter">
      <runaction target="menu/close" action="delayonclose"/>
      <runaction target="taptoclose" action="delayonclose"/>
      <runaction target="arrow/arrow" action="arrow"/>

      <setproperty target="/choose" property="dispatchbackbutton" value="no"/>
      <setproperty target="/choose/window_menu/close" property="visible" value="no"/>
      <setproperty target="/choose/play/play_fuel" property="visible" value="no"/>
    </eventlist>
    <eventlist name="onexit">
    </eventlist>
  </events>

</tutorial>