<?xml version="1.0" encoding="utf-8" ?>
<Layout intermediate="true">
    <!--Image name="bkg" x="0" y="-161" image="/interface/bkg_4_3.png"/>
    <Image x="115" y="35" image="/interface/book_2.png" /-->
        <Image name="bkg" x="0" y="-161" image="/interface/bkg_4_3_book.jpg" />
        <AdFixedWidget x="0" y="230" tag="tall" frame="/ad/promo_border_128x481.png" />
        <Widget x="0" y="0">
            <PaneController name="status_bar" x="0" y="12">
                <Widget name="main" x="0" y="0" xml="/status_bar/groups_status_bar.xml"/>
                <Widget name="quest" x="0" y="0" xml="/status_bar/quest_status_bar.xml"/>
                <Widget name="puzzle" x="0" y="0" xml="/status_bar/puzzle_status_bar.xml"/>
            </PaneController>

            <Button x="0" y="0" width="1366" height="80"/>
        </Widget>

        <Button x="0" y="0" width="1366" height="768" image_editor_transparent="1">
            <Click cmd="skip" handler="cur_layout"/>
        </Button>


        <Widget x="115" y="35">
            <!-- <Image name="game_background" x="20" y="30" image="book_scheme.png"/> -->
            <Image name="paper" x="307" y="30" image="paper_for_new_element.png"/>
            <Image name="reaction_place" x="274" y="168" image="pentagram_place.png" scale="0.9"/>
            <Image name="reaction_pentagram" x="439" y="386" image="pentagram_01_1.png" scale="0.9"/>
            <Image name="candle_01" x="333" y="382" image="candle.png"/>
            <Image name="candle_02" x="411" y="553" image="candle.png"/>
            <Image name="candle_03" x="676" y="553" image="candle.png"/>
            <Image name="candle_04" x="751" y="382" image="candle.png"/>
            <Image name="candle_05" x="544" y="302" image="candle.png"/>

            <Animation name="candle_fire" x="395" y="381" visible="1">
                <Frame image="candle_fire_01"/>
                <Frame image="candle_fire_02"/>
                <Frame image="candle_fire_03"/>

                <Particles name="ps_fire" x="22" y="22" width="64" height="64" file="/particles/win8_candle_dd.ps" visible="1" scale="1.0"/>
            </Animation>
            <Animation name="candle_fire02" x="473" y="552" visible="1">
                <Frame image="candle_fire_01"/>
                <Frame image="candle_fire_02"/>
                <Frame image="candle_fire_03"/>

                <Particles name="ps_fire" x="22" y="22" width="64" height="64" file="/particles/win8_candle_dd.ps" visible="1" scale="1.0"/>
            </Animation>
            <Animation name="candle_fire03" x="738" y="552" visible="1">
                <Frame image="candle_fire_01"/>
                <Frame image="candle_fire_02"/>
                <Frame image="candle_fire_03"/>

                <Particles name="ps_fire" x="22" y="22" width="64" height="64" file="/particles/win8_candle_dd.ps" visible="1" scale="1.0"/>
            </Animation>
            <Animation name="candle_fire04" x="813" y="381" visible="1">
                <Frame image="candle_fire_01"/>
                <Frame image="candle_fire_02"/>
                <Frame image="candle_fire_03"/>

                <Particles name="ps_fire" x="22" y="22" width="64" height="64" file="/particles/win8_candle_dd.ps" visible="1" scale="1.0"/>
            </Animation>
            <Animation name="candle_fire05" x="606" y="302" visible="1">
                <Frame image="candle_fire_01"/>
                <Frame image="candle_fire_02"/>
                <Frame image="candle_fire_03"/>

                <Particles name="ps_fire" x="22" y="22" width="64" height="64" file="/particles/win8_candle_dd.ps" visible="1" scale="1.0"/>
            </Animation>

            <Particles name="ps_left_element" x="0" y="0" file="win8_fly_elements.ps"/>
            <Particles name="ps_right_element" x="0" y="0" file="win8_fly_elements.ps"/>

            <Widget name="elements" x="0" y="0" width="1252" height="734">
                <Widget name="center" x="627" y="338" width="0" height="0"/>
            </Widget>

            <Widget name="reaction" x="0" y="0" width="1252" height="734">
                <Image name="reaction_light" x="435" y="-90" image="light_pentacle_middle.png">

                    <AnimController autoPlay="1" >
                        <ActionChain>
                            <EfxVisible visible="0"/>
                            <EfxWait delay="0.15"/>
                            <ActionGroup>
                                <EfxScaleXY duration="1.3" from_x="0.4" from_y="0.4" to_x="0.8" to_y="0.8"/>
                                <EfxColor duration="1.3" from="00FFFFFF" to="FFFFFFFF"/>
                                <EfxVisible visible="1"/>
                            </ActionGroup>
                            <ActionGroup>
                                <EfxScaleXY duration="0.1" from_x="0.8" from_y="0.8" to_x="0.5" to_y="0.5"/>
                                <EfxColor duration="0.1" from="FFFFFFFF" to="00FFFFFF"/>
                            </ActionGroup>
                        </ActionChain>
                    </AnimController>
                </Image>

                <Image name="reaction_light_1" x="435" y="-40" image="light_pentacle_small.png">

                    <AnimController autoPlay="1" >
                        <ActionChain>
                            <EfxVisible visible="0"/>
                            <EfxWait delay="1"/>
                            <ActionGroup>
                                <EfxScaleXY duration="0.7" from_x="0.4" from_y="0.4" to_x="0.8" to_y="0.8"/>
                                <EfxColor duration="0.7" from="00FFFFFF" to="FFFFFFFF"/>
                                <EfxVisible visible="1"/>
                            </ActionGroup>
                            <ActionGroup>
                                <EfxScaleXY duration="0.1" from_x="0.8" from_y="0.8" to_x="0.5" to_y="0.5"/>
                                <EfxColor duration="0.1" from="FFFFFFFF" to="00FFFFFF"/>
                            </ActionGroup>
                        </ActionChain>
                    </AnimController>
                </Image>

                <Image name="reaction_light_2" x="335" y="-90" image="light_pentacle_big.png">

                    <AnimController autoPlay="1" >
                        <ActionChain>
                            <EfxVisible visible="0"/>
                            <EfxWait delay="1.55"/>
                            <ActionGroup>
                                <EfxScaleXY duration="0.3" from_x="0.4" from_y="0.4" to_x="1.3" to_y="1.3"/>
                                <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"/>
                                <EfxVisible visible="1"/>
                            </ActionGroup>
                            <ActionGroup>
                                <EfxScaleXY duration="0.2" from_x="0.8" from_y="0.8" to_x="0.5" to_y="0.5"/>
                                <EfxColor duration="0.2" from="FFFFFFFF" to="00FFFFFF"/>
                                <EfxVisible visible="1"/>
                            </ActionGroup>
                        </ActionChain>
                    </AnimController>
                </Image>


            </Widget>



        <!-- <Particles name="ps_left_element" x="0" y="0" file="win8_fly_elements.ps"/>
        <Particles name="ps_right_element" x="0" y="0" file="win8_fly_elements.ps"/>

        <Widget name="elements" x="42" y="255" width="1366" height="768">
            <Widget name="center" x="580 y="243" width="0" height="0"/>
        </Widget> -->

        <Text create_if="$device.getGameType == f2p | $device.getGameType == blitz |  $device.getGameType == freeblitz | $device.getGameType == free" show_if="$device.getGameType == f2p | $device.getGameType == blitz |  $device.getGameType == freeblitz" name="power" x="450" y="630" width="320" height="50" align="C" text="REACTION_POWER" font="font" color="FFFFFFFF" no_format="1"/>
    </Widget>

    <Properties>
        <Property key="particleSystemName">interface/win8_element_center.ps</Property>
    </Properties>

</Layout>
