
<sequence>
  <scene id="opening">

	<resources>
		<bg id="woman" priority="1">
        	<bitmap file="sequences/jungle/woman1.png"/>
		</bg>
		<dialogbox mode="tutorial"/>
	</resources>

    <script>
		<disablegamecontrols/>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="1" duration="0"/>

		<waitforall> <testvariable key="introplaying" value="false"/> </waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Okay, what do we have here? This seems to be some kind of puzzle!"
		</dialogtextsequence> <movebg id="woman" pos="255,0" duration="0.5" soft="false"/>

		<dialogtextsequence characterdelay="0.02" orientation="neutral">
		Use the mouse to move stones on the board. There is only one rule: stones can only be moved lengthwise.
		</dialogtextsequence>

		<blockmarker type="direction" show="true" x="1" y="3" direction="east"/>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"This stone looks peculiar!"
		</dialogtextsequence> <movebg id="woman" pos="255,0" duration="0.5" soft="false"/>

		<dialogtextsequence characterdelay="0.02" orientation="neutral">
		This is the main stone. The aim of the game is to move this stone to the exit.
		</dialogtextsequence>

		<blockmarker type="position" show="true" x="6" y="3" direction="east"/>

		<dialogtextsequence characterdelay="0.02" orientation="neutral">
		This is the exit. When the main stone has reached this field, the puzzle is solved. But the way there can be difficult...
		</dialogtextsequence>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"I can do this!"
		</dialogtextsequence> <movebg id="woman" pos="255,0" duration="0.5" soft="false"/>

		<hidedialogbox/>
		<enablegamecontrols/>


		<waitforall>
			<puzzlesolved/>
		</waitforall>
		<disablegamecontrols/>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Very good! Well, it was not that difficult."
		</dialogtextsequence>

	  <blockmarker show="false"/>

      <setvariable key="ended" value="true"/>
      <waitforever/>

    </script>
  </scene>
</sequence>
