<gWindow
	_name="tutorial01.03.04"
	_type="TWindow_TutorialStep"
	_modal="false"
	_typeOpen = "SH_FADE"
	_typeClose = "SH_FADE"
	_timeShow="0.3"
	_typePos = "POS_MIDDLE_SCREEN">
		
	<sounds>
		<item id="3" sound="btnclick" />
	</sounds>

	<!--<settings>
		<param key="button_next"   value="3" />
	</settings>-->
	
	
	<!--
		Условие автоматического завершения шага
		elements - как только эти ячейки будут открыты, шаг завершиться
	-->
	<finish>
		<elements value="0 0|1 0|2 0|3 0|4 0" />
	</finish>
	
	
	<messages_start>
		<message value="gameplay::process::is_block::true" />
		<message value="gameplay::control::is_block::true" />
		<message value="gameplay::process::fill::0 0::4 0::0.4::3.5::cross" />
	</messages_start>
	
	<messages_end>
		<message value="gameplay::process::is_block::false" />
		<message value="gameplay::control::is_block::false" />
	</messages_end>
	
	<bots>
		<!-- Кадр 0: прячем все (время: 0.0) -->
		<bot>
			<param key="type"		value="hide" />
			<param key="gui"		value="11|12|100|101" />
			<param key="delay"		value="0" />
			<param key="time"		value="0" />
		</bot>
		<!-- Кадр 1: показывем указатель (время: 0.0-2.5) -->
		<bot>
			<param key="type"		value="show" />
			<param key="gui"		value="11" />
			<param key="delay"		value="1" />
			<param key="time"		value="0.5" />
		</bot>
		<bot>
			<param key="type"		value="show" />
			<param key="gui"		value="100" />
			<param key="delay"		value="1" />
			<param key="time"		value="0.5" />
		</bot>
		<!-- Кадр 2: двигаем указатель в точку, откуда будем закрашивать 1 столбец (время: 2.5-3.0) -->
		<bot>
			<param key="type" value="move" />
			<param key="gui" value="11" />
			<param key="position_begin" value="0 250 0" />
			<param key="position_end" value="-30 50 0" />
			<param key="time" value="0.5" />
			<param key="delay" value="2.5" />
			<param key="delay_step" value="0" />
		</bot>
		<!-- Кадр 3: двигаем указатель вниз, закрашивая клетки 1 столбца (время: 3.5-4.0) -->
		<bot>
			<param key="type"		value="hide" />
			<param key="gui"		value="100" />
			<param key="delay"		value="3.5" />
			<param key="time"		value="0" />
		</bot>
		<bot>
			<param key="type"		value="show" />
			<param key="gui"		value="101" />
			<param key="delay"		value="3.4" />
			<param key="time"		value="0" />
		</bot>
		<bot>
			<param key="type"		value="hide" />
			<param key="gui"		value="11" />
			<param key="delay"		value="3.5" />
			<param key="time"		value="0" />
		</bot>
		<bot>
			<param key="type"		value="show" />
			<param key="gui"		value="12" />
			<param key="delay"		value="3.4" />
			<param key="time"		value="0" />
		</bot>
		<bot>
			<param key="type" value="move" />
			<param key="gui" value="12" />
			<param key="position_begin" value="-30 50 0" />
			<param key="position_end" value="115 50 0" />
			<param key="time" value="0.6" />
			<param key="delay" value="3.5" />
			<param key="delay_step" value="0" />
		</bot>
	</bots>
	
	<GUI>
		<PANEL9 ID="1"  TX_1_1="data/share/image/gui window_tutorial_11.png" TX_1_2="data/share/image/gui window_tutorial_12.png" TX_1_3="data/share/image/gui window_tutorial_13.png"
						TX_2_1="data/share/image/gui window_tutorial_21.png" TX_2_2="data/share/image/gui window_tutorial_22.png" TX_2_3="data/share/image/gui window_tutorial_23.png"
						TX_3_1="data/share/image/gui window_tutorial_31.png" TX_3_2="data/share/image/gui window_tutorial_32.png" TX_3_3="data/share/image/gui window_tutorial_33.png">
			<SIZE>760 250</SIZE>
			<POSITION>80 -250</POSITION>
			
			<CONTEXT>
				<WLABEL ID="2" FONT_TEXTURE="data/share/font default.png" FONT="data/share/font default.fnt" TEXT="tutorial_txt_step03_04_mouse">
					<POSITION>0 0</POSITION>
				</WLABEL>
				<!--<BUTTON5 ID="3" TEXTURE="data/share/image/gui button_right_small.png" ENABLE="true" VISIBLE="true">
					<TRANSFORM>300 100 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
				</BUTTON5>-->
				<IMAGE ID="20" TEXTURE="data/share/image/tutorial tutorial_person_01.png" >
					<TRANSFORM>-371 -50 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
				</IMAGE>
			</CONTEXT>
		</PANEL9>

		<!-- Объекты для закрашивания 1-й строки -->
		<IMAGE ID="11" ENABLE="false" TEXTURE="data/share/image/tutorial tutor_cursor.png" VISIBLE="false" >
			<TRANSFORM>0 250 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
		</IMAGE>
		<IMAGE ID="12" ENABLE="false" TEXTURE="data/share/image/tutorial tutor_cursor_click.png" VISIBLE="false" >
			<TRANSFORM>-30 50 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
		</IMAGE>

		<!-- Объекты для отображения нажатой кнопки мыши -->
		<IMAGE ID="100" ENABLE="false" TEXTURE="data/share/image/tutorial mouse.png" VISIBLE="false" >
			<TRANSFORM>260 200 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
		</IMAGE>
		<IMAGE ID="101" ENABLE="false" TEXTURE="data/share/image/tutorial mouse_right.png" VISIBLE="false" >
			<TRANSFORM>260 200 0 0 0 0 0 0 0 1 1 1</TRANSFORM>
		</IMAGE>
	</GUI>
</gWindow>