<?xml version="1.0" encoding="ISO-8859-1" ?>
<Game>
    <GDVersion Major="1" Minor="2" Build="8678" Revision="43717" />
    <Info>
        <Nom value="" />
        <Auteur value="" />
        <WindowW value="800" />
        <WindowH value="600" />
        <Portable value="true" />
        <Extensions>
            <Extension name="BuiltinObject" />
            <Extension name="BuiltinAudio" />
            <Extension name="Sprite" />
            <Extension name="BuiltinScene" />
            <Extension name="BuiltinVariables" />
            <Extension name="BuiltinCamera" />
            <Extension name="BuiltinAdvanced" />
            <Extension name="BuiltinFile" />
            <Extension name="BuiltinInterface" />
            <Extension name="BuiltinJoystick" />
            <Extension name="BuiltinKeyboard" />
            <Extension name="BuiltinMouse" />
            <Extension name="BuiltinNetwork" />
            <Extension name="BuiltinWindow" />
            <Extension name="BuiltinTime" />
        </Extensions>
        <FPSmax value="60" />
        <FPSmin value="10" />
        <verticalSync value="false" />
        <Chargement>
            <Afficher value="true" />
            <Border value="true" />
            <Smooth value="true" />
            <Width value="170.000000" />
            <Height value="50.000000" />
            <TexteAfficher value="true" />
            <TexteXPos value="0.000000" />
            <TexteYPos value="0.000000" />
            <Texte value="Chargement" />
            <PourcentAfficher value="false" />
            <PourcentXPos value="0.000000" />
            <PourcentYPos value="0.000000" />
            <ImageAfficher value="false" />
            <Image value="" />
        </Chargement>
    </Info>
    <Images>
        <Image nom="MiniTir.png" fichier="MiniTir.png" lissage="true" />
        <Image nom="VaisseauMechant.png" fichier="VaisseauMechant.png" lissage="true" />
        <Image nom="Vaisseau.png" fichier="Vaisseau.png" lissage="true" />
        <Image nom="Viseur.png" fichier="Viseur.png" lissage="true" />
    </Images>
    <DossierImages />
    <Objects />
    <Variables />
    <Scenes>
        <Scene nom="Niveau" r="0.000000" v="0.000000" b="0.000000" titre="Asteroid">
            <Objets>
                <Objet nom="Vaisseau" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Vaisseau.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="13.000000" Y="13.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
                <Objet nom="Tir" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="true">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="MiniTir.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="2.000000" Y="2.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
                <Objet nom="Mechant" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="VaisseauMechant.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="14.000000" Y="16.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
                <Objet nom="Viseur" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="true">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Viseur.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="16.000000" Y="16.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
            </Objets>
            <Layers>
                <Layer Name="" Visibility="true" />
            </Layers>
            <Variables />
            <Positions>
                <Objet nom="Vaisseau" x="359" y="497" plan="0" layer="" angle="0" personalizedSize="false" width="0" height="0">
                    <floatInfos>
                        <Info name="animation" value="0" />
                    </floatInfos>
                    <stringInfos />
                </Objet>
                <Objet nom="Viseur" x="496" y="179" plan="0" layer="" angle="0" personalizedSize="false" width="0" height="0">
                    <floatInfos>
                        <Info name="animation" value="0" />
                    </floatInfos>
                    <stringInfos />
                </Objet>
            </Positions>
            <Events>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Toujours" loc="true" Contraire="false" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="MettreX" loc="true" />
                            <Parametre value="Viseur" />
                            <Parametre value="VAL(SourisX[])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="MettreY" loc="true" />
                            <Parametre value="Viseur" />
                            <Parametre value="VAL(SourisY[])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="TourneVers" loc="true" />
                            <Parametre value="Vaisseau" />
                            <Parametre value="Viseur" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="KeyPressed" loc="true" Contraire="false" />
                            <Parametre value="Up" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="AddForceAL" loc="true" />
                            <Parametre value="Vaisseau" />
                            <Parametre value="OBJ(Vaisseau[direc])" />
                            <Parametre value="150" />
                            <Parametre value="0" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="SourisBouton" loc="true" Contraire="false" />
                            <Parametre value="Left" />
                        </Condition>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.25" />
                            <Parametre value="Tir" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Create" loc="true" />
                            <Parametre value="Tir" />
                            <Parametre value="OBJ(Vaisseau[x])" />
                            <Parametre value="OBJ(Vaisseau[y])" />
                        </Action>
                        <Action>
                            <Type value="AddForceAL" loc="true" />
                            <Parametre value="Tir" />
                            <Parametre value="OBJ(Vaisseau[direc])" />
                            <Parametre value="300" />
                            <Parametre value="1" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="Tir" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.75" />
                            <Parametre value="Apparition" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Create" loc="true" />
                            <Parametre value="Mechant" />
                            <Parametre value="VAL(random[800])" />
                            <Parametre value="10" />
                        </Action>
                        <Action>
                            <Type value="AddForceVers" loc="true" />
                            <Parametre value="Mechant" />
                            <Parametre value="Vaisseau" />
                            <Parametre value="250" />
                            <Parametre value="1" />
                        </Action>
                        <Action>
                            <Type value="TourneVers" loc="true" />
                            <Parametre value="Mechant" />
                            <Parametre value="Vaisseau" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="Apparition" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Collision" loc="true" Contraire="false" />
                            <Parametre value="Tir" />
                            <Parametre value="Mechant" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Delete" loc="true" />
                            <Parametre value="Mechant" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Collision" loc="true" Contraire="false" />
                            <Parametre value="Vaisseau" />
                            <Parametre value="Mechant" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Delete" loc="true" />
                            <Parametre value="Vaisseau" />
                        </Action>
                    </Actions>
                </Event>
            </Events>
        </Scene>
    </Scenes>
</Game>
