<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <BkgImage name="bkg" x="0" y="-161" image="/interface/bkg_4_3.png"/>
    
    <Button name="exit" x="1147" y="544" image="/main_menu/exit_button.png" visible="1" >
        <Click cmd="exit" handler="" />
        <Widget name="text_exit" x="10" y="180" >

            <Text name="text_exit_b" x="10" y="3" width="171" height="40" font="medium" text="MAINMENU_SCR_EXIT_BTN" align="C" color="64000000"/>
            <Text name="text_exit_w" x="7" y="0" width="171" height="40" font="medium" text="MAINMENU_SCR_EXIT_BTN" align="C" color="FFFFFFFF"/>
            <AnimController autoPlay="1">
                <ActionChain>
                    <ActionGroup> 
                        <EfxColor duration="0.3" from="00FFFFFF" to="ffFFFFFF"/>    
                    </ActionGroup> 
                </ActionChain>
            </AnimController>
        </Widget>
        
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
        </Properties>
    </Button>
    
    <Widget name="open_event_sender" x="0" y="0">
        <AnimController autoPlay="1">
            <ActionChain>
            <EfxSendEvent event="event_open_universe" />
            </ActionChain>        
        </AnimController>               
    </Widget>
    
    
    
    <Widget name="gribi" x="0" y="0">

        <Particles name="win8_main_menu.ps" x="683" y="384" file="/main_menu/win8_main_menu2.ps" >
            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0" from="00FFFFFF" to="00FFFFFF"/>
                    <EfxWait delay="2"/>
                    <EfxColor duration="3.0" from="00FFFFFF" to="FFFFFFFF"/>
                </ActionChain>
            </AnimController>
        </Particles>            
    </Widget>
    
        
    <Widget name="spacer1" x="0" y="0" width="10" height="550"/>
    
    
    <Widget name="content_widget1" x="200" y="0" width="450" height="550">

        <!-- doodle god -->
        <UniverseGameWidget name="uni_game1" x="0" y="0">
        
            <Button name="dg_banner" x="0" y="0" image="btn_DG.png">
            
                <Event id="" />
                
                <Image x="0" y="220" image="btn_DG_mirror.png"/>
                
            </Button>
            
            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>               
                    <EfxWait delay="0.2"/>               
                    <ActionGroup>
                        <EfxMove from_x="1100" from_y="55" to_x="0" to_y="55" delay="0" duration="0.5" modifier="fullarc"/>
                        <EfxColor duration="0.8" from="00FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                        <EfxScaleXY duration="0.8" from_x="0.1" from_y="0.1" to_x="0.9" to_y="0.9" modifier="sindiminish"/>
                    </ActionGroup>
                    <EfxSendEvent event="show_pl_but_dg"/>
                </ActionChain>
            </AnimController>
            
            <AnimController autoPlay="0" handler="dg_banner_but_click">
                <ActionChain>
                    <EfxSendEvent event="close"/>                
                    <EfxWait delay="0.3"/>
                    <EfxSendCmd cmd="layout" param="UniverseGameLayout"> 
                        <Param value="crossfade"/>
                    </EfxSendCmd>    
                </ActionChain>
            </AnimController>
            
            <AnimController autoPlay="0" events="close">
                <ActionChain>
                    <EfxWait delay="0.1"/>
                    <ActionGroup>
                        <EfxColor duration="0.3" from="FFFFFFFF" to="00FFFFFF"/>
                        <EfxMove duration="1" mode="fty" from_y="55" to_y="455"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
        </UniverseGameWidget>
        
        <!-- doodle devil -->
        <UniverseGameWidget name="uni_game3" x="0" y="0">
        
            <Button name="dd_banner" x="0" y="0" image="btn_DD.png">
            
                <Event id="" />

                <Image x="0" y="220" image="btn_DD_mirror.png"/>
                
            </Button>
            
            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>               
                    <EfxWait delay="0.4"/>               
                    <ActionGroup>
                        <EfxMove from_x="1100" from_y="350" to_x="0" to_y="350" delay="0" duration="0.5" modifier="fullarc"/>
                        <EfxColor duration="0.8" from="00FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                        <EfxScaleXY duration="0.8" from_x="0.1" from_y="0.1" to_x="0.9" to_y="0.9" modifier="sindiminish"/>
                    </ActionGroup>
                    <EfxSendEvent event="show_pl_but_dd"/>
                </ActionChain>
            </AnimController>


            <AnimController autoPlay="0" handler="dd_banner_but_click">
                <ActionChain>
                    <EfxSendEvent event="close"/>
                    <EfxWait delay="0.3"/>
                    <EfxSendCmd cmd="layout" param="UniverseGameLayout"> 
                        <Param value="crossfade"/>
                    </EfxSendCmd>
                </ActionChain>
            </AnimController>
            
            <AnimController autoPlay="0" events="close">
                <ActionChain>
                    <EfxWait delay="0.3"/>
                    <ActionGroup>
                        <EfxColor duration="0.3" from="FFFFFFFF" to="00FFFFFF"/>
                        <EfxMove duration="1" mode="fty" from_y="350" to_y="750"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
        </UniverseGameWidget>
    
    </Widget>
    
    
    
    
    <Widget name="content_widget2" x="715" y="0" width="450" height="550">
        <!-- doodle creatures -->
        <UniverseGameWidget name="uni_game5" x="0" y="0" >

            <Button name="dc_banner" x="0" y="0" image="btn_DC.png">
            
                <Event id="" />
                
                <Image x="0" y="220" image="btn_DC_mirror.png"/>

                
            </Button>
            
            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>               
                    <EfxWait delay="0.0"/>               
                    <ActionGroup>
                        <EfxMove from_x="1100" from_y="55" to_x="0" to_y="55" delay="0" duration="0.5" modifier="fullarc"/>
                        <EfxColor duration="0.8" from="00FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                        <EfxScaleXY duration="0.8" from_x="0.1" from_y="0.1" to_x="0.9" to_y="0.9" modifier="sindiminish"/>
                    </ActionGroup>
                    <EfxSendEvent event="show_pl_but_dd"/>
                </ActionChain>
            </AnimController>
            

            <AnimController autoPlay="0" handler="dc_banner_but_click">
                <ActionChain>
                    <EfxSendEvent event="close"/>
                    <EfxWait delay="0.3"/>
                    <EfxSendCmd cmd="layout" param="UniverseGameLayout">
                        <Param value="crossfade"/>
                    </EfxSendCmd>                    
                </ActionChain>
            </AnimController>

            <AnimController autoPlay="0" events="close">
                <ActionChain>
                    <EfxWait delay="0.0"/>
                    <ActionGroup>
                        <EfxColor duration="0.3" from="FFFFFFFF" to="00FFFFFF"/>
                        <EfxMove duration="1" mode="fty" from_y="55" to_y="455"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
        </UniverseGameWidget>

        
        <!-- doodle kingdom -->
        <UniverseGameWidget name="uni_game4" x="0" y="0">
        
            <Button name="dg_banner" x="0" y="0" image="btn_DK.png">
                <Event id="" />
                
                <Image x="0" y="220" image="btn_DK_mirror.png"/>
                
            </Button>
            
            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>               
                    <EfxWait delay="0.6"/>               
                    <ActionGroup>
                        <EfxMove from_x="1100" from_y="350" to_x="0" to_y="350" delay="0" duration="0.5" modifier="fullarc"/>
                        <EfxColor duration="0.8" from="00FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                        <EfxScaleXY duration="0.8" from_x="0.1" from_y="0.1" to_x="0.9" to_y="0.9" modifier="sindiminish"/>
                    </ActionGroup>
                    <EfxSendEvent event="show_pl_but_dk"/>
                </ActionChain>
            </AnimController>
            
            <AnimController autoPlay="0" handler="dk_banner_but_click">
                <ActionChain>
                    <EfxSendEvent event="close"/>
                    <EfxWait delay="0.3"/>
                    <EfxSendCmd cmd="layout" param="UniverseGameLayout"> 
                        <Param value="crossfade"/>
                    </EfxSendCmd>    
                </ActionChain>
            </AnimController>
            
            <AnimController autoPlay="0" events="close">
                <ActionChain>
                    <EfxWait delay="0.4"/>
                    <ActionGroup>
                        <EfxColor duration="0.3" from="FFFFFFFF" to="00FFFFFF"/>
                        <EfxMove duration="1" mode="fty" from_y="350" to_y="750"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
        </UniverseGameWidget>
    
    </Widget>

    
    
    <Widget name="content_widget3" x="0" y="0" width="450" height="550">

    
    


    </Widget>
    
    <Widget name="spacer2" x="0" y="0" width="20" height="550"/>
    
    <Image x="273" y="640" image="line_bottom.png"/>
    
    
    <Button name="click_blocker" x="0" y="0" width="1366" height="768" image="/interface/empty.png">
    
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxMove from_x="0" to_x="1366"  mode="ftx" duration="0"/>
            </ActionChain>
        </AnimController>
        
        <AnimController autoPlay="0" events="close">
            <ActionChain>
                <EfxMove from_x="1366" to_x="0"  mode="ftx" duration="0"/>
            </ActionChain>
        </AnimController>
        
    </Button>  
    
    
    <AnimController autoPlay="1">
        <ActionChain>
            <EfxPlaySound sound="doodleuniverse_screen_transition"/>    
        </ActionChain>
    </AnimController>
    
    
    
</Layout>