<?xml version="1.0" encoding="ISO-8859-1" ?>
<Game>
    <GDVersion Major="1" Minor="2" Build="8521" Revision="42866" />
    <Info>
        <Nom value="Particules" />
        <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="5.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="Liquifire01.png" fichier="Liquifire01.png" lissage="true" />
        <Image nom="DebrisC03.png" fichier="DebrisC03.png" lissage="true" />
        <Image nom="Liquifire02.png" fichier="Liquifire02.png" lissage="true" />
        <Image nom="Liquifire03.png" fichier="Liquifire03.png" lissage="true" />
        <Image nom="Liquifire04.png" fichier="Liquifire04.png" lissage="true" />
        <Image nom="Liquifire05.png" fichier="Liquifire05.png" lissage="true" />
        <Image nom="Liquifire06.png" fichier="Liquifire06.png" lissage="true" />
        <Image nom="Liquifire07.png" fichier="Liquifire07.png" lissage="true" />
        <Image nom="Liquifire08.png" fichier="Liquifire08.png" lissage="true" />
        <Image nom="Liquifire09.png" fichier="Liquifire09.png" lissage="true" />
        <Image nom="Turbine05.png" fichier="Ship.png" lissage="true" />
    </Images>
    <DossierImages />
    <Objects />
    <Variables />
    <Scenes>
        <Scene nom="Test" r="255.000000" v="255.000000" b="255.000000" titre="">
            <Objets>
                <Objet nom="Particule01" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire01.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire02.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire03.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire03.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire04.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire05.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire06.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire07.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire09.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
                <Objet nom="Center" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Liquifire01.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="50.000000" Y="50.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
                <Objet nom="Cursor" type="Sprite">
                    <Variables />
                    <Animations>
                        <Animation typeNormal="false">
                            <Direction boucle="false" tempsEntre="1.000000">
                                <Sprites>
                                    <Sprite image="Turbine05.png">
                                        <Points />
                                        <PointOrigine nom="origine" X="0.000000" Y="0.000000" />
                                        <PointCentre nom="centre" X="60.000000" Y="60.000000" automatic="true" />
                                    </Sprite>
                                </Sprites>
                            </Direction>
                        </Animation>
                    </Animations>
                </Objet>
            </Objets>
            <Layers>
                <Layer Name="" Visibility="true" />
            </Layers>
            <Variables />
            <Events>
                <Event>
                    <Type value="Commentaire" />
                    <Couleur r="255.000000" v="230.000000" b="109.000000" />
                    <Com1 value="Exemple de particules&#x0A;réagissant au curseur" />
                    <Com2 value="Créé par Donut_prod ( François Dumortier )&#x0A;Adaptations par 4ian&#x0A;&#x0A;Déplacez la souris pour interagir." />
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="DepartScene" loc="true" Contraire="false" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="ModVarScene" loc="false" />
                            <Parametre value="generation" />
                            <Parametre value="VAL(TempsDebut[])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="Create" loc="true" />
                            <Parametre value="Center" />
                            <Parametre value="340" />
                            <Parametre value="240" />
                        </Action>
                        <Action>
                            <Type value="Create" loc="true" />
                            <Parametre value="Cursor" />
                            <Parametre value="0" />
                            <Parametre value="0" />
                        </Action>
                        <Action>
                            <Type value="Cache" loc="true" />
                            <Parametre value="Cursor" />
                        </Action>
                        <Action>
                            <Type value="Cache" loc="true" />
                            <Parametre value="Center" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="VarScene" loc="true" Contraire="false" />
                            <Parametre value="generation" />
                            <Parametre value="VAL(TempsDebut[])-1.5" />
                            <Parametre value="&gt;=" />
                        </Condition>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.01" />
                            <Parametre value="gen" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Create" loc="false" />
                            <Parametre value="Particule01" />
                            <Parametre value="(OBJ(Center[x])-20)+VAL(random[40])" />
                            <Parametre value="(OBJ(Center[y])-20)+VAL(random[40])" />
                        </Action>
                        <Action>
                            <Type value="ChangeDirection" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="VAL(random[360])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="ModVarObjet" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="speed" />
                            <Parametre value="20" />
                            <Parametre value="-" />
                        </Action>
                        <Action>
                            <Type value="ChangeAnimation" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="VAL(random[8])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="gen" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="KeyPressed" loc="true" Contraire="false" />
                            <Parametre value="Space" />
                        </Condition>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.1" />
                            <Parametre value="touchegen" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="Create" loc="false" />
                            <Parametre value="Particule01" />
                            <Parametre value="OBJ(Cursor[x])" />
                            <Parametre value="OBJ(Cursor[y])" />
                        </Action>
                        <Action>
                            <Type value="ChangeDirection" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="VAL(random[360])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="ModVarObjet" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="speed" />
                            <Parametre value="20" />
                            <Parametre value="-" />
                        </Action>
                        <Action>
                            <Type value="ChangeAnimation" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="VAL(random[8])" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="touchegen" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Toujours" loc="true" Contraire="false" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="MettreX" loc="false" />
                            <Parametre value="Cursor" />
                            <Parametre value="VAL(SourisX[])-60" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="MettreY" loc="false" />
                            <Parametre value="Cursor" />
                            <Parametre value="VAL(SourisY[])-60" />
                            <Parametre value="=" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="Commentaire" />
                    <Couleur r="119.000000" v="255.000000" b="187.000000" />
                    <Com1 value="&#x0A;INTERACTION PARTICULES/CURSEUR&#x0A;" />
                    <Com2 value="&#x0A;Le curseur arrête une particule individualisée, puis la repousse" />
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Distance" loc="false" Contraire="false" />
                            <Parametre value="Cursor" />
                            <Parametre value="Particule01" />
                            <Parametre value="50" />
                            <Parametre value="&gt;" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="AjoutObjConcern" loc="true" />
                            <Parametre value="Center" />
                        </Action>
                        <Action>
                            <Type value="AddForceVers" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="Center" />
                            <Parametre value="OBJ(Particule01[speed])" />
                            <Parametre value="0" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Distance" loc="false" Contraire="false" />
                            <Parametre value="Cursor" />
                            <Parametre value="Particule01" />
                            <Parametre value="50" />
                            <Parametre value="&lt;=" />
                        </Condition>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.01" />
                            <Parametre value="repell" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="ModVarObjet" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="speed" />
                            <Parametre value="0" />
                            <Parametre value="=" />
                        </Action>
                        <Action>
                            <Type value="AddForceVers" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="Cursor" />
                            <Parametre value="-35" />
                            <Parametre value="-0.5" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="repell" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="Commentaire" />
                    <Couleur r="255.000000" v="230.000000" b="109.000000" />
                    <Com1 value="&#x0A;ROTATION PARTICULE&#x0A;" />
                    <Com2 value="&#x0A;Chaque particule tourne en fonction de sa vitesse. " />
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Vitesse" loc="false" Contraire="false" />
                            <Parametre value="Particule01" />
                            <Parametre value="0" />
                            <Parametre value="&gt;" />
                        </Condition>
                        <Condition>
                            <Type value="Timer" loc="true" Contraire="false" />
                            <Parametre value="0.01" />
                            <Parametre value="turn" />
                        </Condition>
                    </Conditions>
                    <Actions>
                        <Action>
                            <Type value="ChangeDirection" loc="true" />
                            <Parametre value="Particule01" />
                            <Parametre value="OBJ(Particule01[speed])/70" />
                            <Parametre value="+" />
                        </Action>
                        <Action>
                            <Type value="ResetTimer" loc="true" />
                            <Parametre value="turn" />
                        </Action>
                    </Actions>
                </Event>
                <Event>
                    <Type value="Commentaire" />
                    <Couleur r="255.000000" v="230.000000" b="109.000000" />
                    <Com1 value="&#x0A;RAPPEL PARTICULE&#x0A;" />
                    <Com2 value="&#x0A;Vitesse incrémentée vers le centre" />
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Distance" loc="false" Contraire="false" />
                            <Parametre value="Particule01" />
                            <Parametre value="Center" />
                            <Parametre value="80" />
                            <Parametre value="&gt;" />
                        </Condition>
                    </Conditions>
                    <Actions />
                    <Events>
                        <Event>
                            <Type value="AND" />
                            <Conditions>
                                <Condition>
                                    <Type value="Timer" loc="true" Contraire="false" />
                                    <Parametre value="0.01" />
                                    <Parametre value="rappel" />
                                </Condition>
                            </Conditions>
                            <Actions>
                                <Action>
                                    <Type value="ModVarObjet" loc="true" />
                                    <Parametre value="Particule01" />
                                    <Parametre value="speed" />
                                    <Parametre value="VAL(random[6])" />
                                    <Parametre value="+" />
                                </Action>
                                <Action>
                                    <Type value="ResetTimer" loc="true" />
                                    <Parametre value="rappel" />
                                </Action>
                            </Actions>
                        </Event>
                    </Events>
                </Event>
                <Event>
                    <Type value="Commentaire" />
                    <Couleur r="255.000000" v="230.000000" b="109.000000" />
                    <Com1 value="&#x0A;REJET PARTICULE&#x0A;" />
                    <Com2 value="&#x0A;Vitesse incrémentée en s&apos;éloignant et super vitesse pour éviter une gravitation trop longue autour du centre" />
                </Event>
                <Event>
                    <Type value="AND" />
                    <Conditions>
                        <Condition>
                            <Type value="Distance" loc="false" Contraire="false" />
                            <Parametre value="Particule01" />
                            <Parametre value="Center" />
                            <Parametre value="20" />
                            <Parametre value="&lt;=" />
                        </Condition>
                    </Conditions>
                    <Actions />
                    <Events>
                        <Event>
                            <Type value="AND" />
                            <Conditions>
                                <Condition>
                                    <Type value="VarObjet" loc="true" Contraire="false" />
                                    <Parametre value="Particule01" />
                                    <Parametre value="speed" />
                                    <Parametre value="0" />
                                    <Parametre value="&gt;=" />
                                </Condition>
                                <Condition>
                                    <Type value="Timer" loc="true" Contraire="false" />
                                    <Parametre value="0.01" />
                                    <Parametre value="rejetbase" />
                                </Condition>
                            </Conditions>
                            <Actions>
                                <Action>
                                    <Type value="ModVarObjet" loc="true" />
                                    <Parametre value="Particule01" />
                                    <Parametre value="speed" />
                                    <Parametre value="VAL(random[15])" />
                                    <Parametre value="-" />
                                </Action>
                                <Action>
                                    <Type value="ResetTimer" loc="true" />
                                    <Parametre value="rejetbase" />
                                </Action>
                            </Actions>
                        </Event>
                        <Event>
                            <Type value="AND" />
                            <Conditions>
                                <Condition>
                                    <Type value="Timer" loc="true" Contraire="false" />
                                    <Parametre value="0.01" />
                                    <Parametre value="rejet" />
                                </Condition>
                            </Conditions>
                            <Actions>
                                <Action>
                                    <Type value="ModVarObjet" loc="true" />
                                    <Parametre value="Particule01" />
                                    <Parametre value="speed" />
                                    <Parametre value="VAL(random[6])" />
                                    <Parametre value="-" />
                                </Action>
                                <Action>
                                    <Type value="ResetTimer" loc="true" />
                                    <Parametre value="rejet" />
                                </Action>
                            </Actions>
                        </Event>
                    </Events>
                </Event>
            </Events>
        </Scene>
    </Scenes>
</Game>
