Files
GDevelop/Binaries/Output/Release_Windows/Examples/BasicRacingGame.gdg
Victor Levasseur 4943f06b5e Save examples using v4 version
Convert some PNG to RGB mode
2015-08-12 12:13:22 +02:00

1316 lines
73 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<project firstLayout="">
<gdVersion build="84" major="3" minor="6" revision="0" />
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
<name>Basic racing game</name>
<author></author>
<windowWidth>800</windowWidth>
<windowHeight>600</windowHeight>
<latestCompilationDirectory></latestCompilationDirectory>
<maxFPS>60</maxFPS>
<minFPS>10</minFPS>
<verticalSync>false</verticalSync>
<extensions>
<extension name="BuiltinObject" />
<extension name="BuiltinAudio" />
<extension name="BuiltinVariables" />
<extension name="BuiltinTime" />
<extension name="BuiltinMouse" />
<extension name="BuiltinKeyboard" />
<extension name="BuiltinJoystick" />
<extension name="BuiltinCamera" />
<extension name="BuiltinWindow" />
<extension name="BuiltinFile" />
<extension name="BuiltinNetwork" />
<extension name="BuiltinScene" />
<extension name="BuiltinAdvanced" />
<extension name="Sprite" />
<extension name="BuiltinCommonInstructions" />
<extension name="BuiltinCommonConversions" />
<extension name="BuiltinStringInstructions" />
<extension name="BuiltinMathematicalTools" />
<extension name="BuiltinExternalLayouts" />
<extension name="TextObject" />
<extension name="CommonDialogs" />
</extensions>
<platforms>
<platform name="GDevelop C++ platform" />
</platforms>
<currentPlatform>GDevelop C++ platform</currentPlatform>
</properties>
<resources>
<resources>
<resource alwaysLoaded="false" file="police.png" kind="image" name="police.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="voiture.png" kind="image" name="voiture.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Skycraper.png" kind="image" name="Skycraper.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Barn.png" kind="image" name="Barn.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Batiment.png" kind="image" name="Batiment.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Mur3D.png" kind="image" name="Mur3D.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Shop.png" kind="image" name="Shop.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="Herbe.png" kind="image" name="Herbe.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="RouteHorizontale.png" kind="image" name="RouteHorizontale.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="RouteVerticale.png" kind="image" name="RouteVerticale.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="etincelle.png" kind="image" name="etincelle.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="smoke1.png" kind="image" name="smoke1.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="smoke2.png" kind="image" name="smoke2.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="smoke3.png" kind="image" name="smoke3.png" smoothed="true" userAdded="true" />
<resource alwaysLoaded="false" file="frein.png" kind="image" name="frein.png" smoothed="true" userAdded="true" />
</resources>
<resourceFolders />
</resources>
<objects />
<objectsGroups />
<variables />
<layouts>
<layout b="48" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc_232ne_321" name="Nouvelle scène 1" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="95" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="118">
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridOffsetX="0" gridOffsetY="0" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
<objectsGroups />
<variables />
<instances>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Voiture" width="0.000000" x="281.000000" y="135.000000" zOrder="5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="400.000000" y="21.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="45.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="199.000000" y="-300.000000" zOrder="-1">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="2.000000" y="-190.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="599.000000" y="-190.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="0.000000" y="260.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="594.000000" y="258.000000" zOrder="-10">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="125.000000" y="100.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="344.000000" y="100.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="567.000000" y="100.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="-2.000000" y="-617.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="599.000000" y="-617.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="-600.000000" y="-620.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="-598.000000" y="-170.000000" zOrder="-5">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Fond" width="0.000000" x="-600.000000" y="280.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="792.000000" y="100.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="1016.000000" y="100.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="90.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="794.000000" y="187.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="90.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="794.000000" y="412.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="90.000000" customSize="false" height="0.000000" layer="" locked="false" name="Route" width="0.000000" x="792.000000" y="636.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="90.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="437.000000" y="402.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="135.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="350.000000" y="288.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="135.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="530.000000" y="288.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Batiment" width="0.000000" x="145.000000" y="263.000000" zOrder="0">
<numberProperties>
<property name="animation" value="0.000000" />
</numberProperties>
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Interface" locked="false" name="Speed" width="0.000000" x="0.000000" y="0.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
<instance angle="0.000000" customSize="false" height="0.000000" layer="Interface" locked="false" name="Explanation" width="0.000000" x="2.000000" y="441.000000" zOrder="0">
<numberProperties />
<stringProperties />
<initialVariables />
</instance>
</instances>
<objects>
<object name="Voiture" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="voiture.png">
<points>
<point name="Roue1" x="11.000000" y="45.000000" />
<point name="Roue2" x="11.000000" y="29.000000" />
</points>
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="37.500000" y="37.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="75.000000" y="0.000000" />
<vertice x="75.000000" y="75.000000" />
<vertice x="0.000000" y="75.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Batiment" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Batiment.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="114.500000" y="41.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="229.000000" y="0.000000" />
<vertice x="229.000000" y="82.000000" />
<vertice x="0.000000" y="82.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Skycraper.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="101.000000" y="201.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="202.000000" y="0.000000" />
<vertice x="202.000000" y="402.000000" />
<vertice x="0.000000" y="402.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Barn.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="117.500000" y="37.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="235.000000" y="0.000000" />
<vertice x="235.000000" y="74.000000" />
<vertice x="0.000000" y="74.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Mur3D.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="95.000000" y="22.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="190.000000" y="0.000000" />
<vertice x="190.000000" y="44.000000" />
<vertice x="0.000000" y="44.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="50.000000" y="50.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="100.000000" y="0.000000" />
<vertice x="100.000000" y="100.000000" />
<vertice x="0.000000" y="100.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Fond" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="Herbe.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="300.000000" y="225.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="600.000000" y="0.000000" />
<vertice x="600.000000" y="450.000000" />
<vertice x="0.000000" y="450.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="Route" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RouteHorizontale.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="112.500000" y="45.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="225.000000" y="0.000000" />
<vertice x="225.000000" y="90.000000" />
<vertice x="0.000000" y="90.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="50.000000" y="50.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="100.000000" y="0.000000" />
<vertice x="100.000000" y="100.000000" />
<vertice x="0.000000" y="100.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="RouteVerticale.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="45.000000" y="112.500000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="90.000000" y="0.000000" />
<vertice x="90.000000" y="225.000000" />
<vertice x="0.000000" y="225.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="etincelle" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="true">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="etincelle.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="0.000000" y="0.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
<vertice x="0.000000" y="0.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="fumée" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="smoke1.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="10.000000" y="10.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="20.000000" y="0.000000" />
<vertice x="20.000000" y="20.000000" />
<vertice x="0.000000" y="20.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="smoke2.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="10.000000" y="10.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="20.000000" y="0.000000" />
<vertice x="20.000000" y="20.000000" />
<vertice x="0.000000" y="20.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="1.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="smoke3.png">
<points />
<originPoint name="origine" x="0.000000" y="0.000000" />
<centerPoint automatic="true" name="centre" x="10.000000" y="10.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="20.000000" y="0.000000" />
<vertice x="20.000000" y="20.000000" />
<vertice x="0.000000" y="20.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object name="frein" type="Sprite">
<variables />
<automatisms />
<animations>
<animation useMultipleDirections="false">
<directions>
<direction looping="false" timeBetweenFrames="0.000000">
<sprites>
<sprite hasCustomCollisionMask="false" image="frein.png">
<points />
<originPoint name="origine" x="15.000000" y="3.000000" />
<centerPoint automatic="true" name="centre" x="10.000000" y="4.000000" />
<customCollisionMask>
<polygon>
<vertice x="0.000000" y="0.000000" />
<vertice x="20.000000" y="0.000000" />
<vertice x="20.000000" y="8.000000" />
<vertice x="0.000000" y="8.000000" />
</polygon>
</customCollisionMask>
</sprite>
</sprites>
</direction>
</directions>
</animation>
</animations>
</object>
<object bold="false" italic="false" name="Speed" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Text</string>
<font></font>
<characterSize>30</characterSize>
<color b="255" g="255" r="255" />
</object>
<object bold="false" italic="false" name="Explanation" smoothed="true" type="TextObject::Text" underlined="false">
<variables />
<automatisms />
<string>Use arrows to move the car.&#x0A;See other examples for&#x0A;enhanced racing games.</string>
<font></font>
<characterSize>20</characterSize>
<color b="255" g="255" r="255" />
</object>
</objects>
<events>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Direction</comment>
<comment2></comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Right</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ChangeDirection" />
<parameters>
<parameter>Voiture</parameter>
<parameter>+</parameter>
<parameter>200*TimeDelta()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Left</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ChangeDirection" />
<parameters>
<parameter>Voiture</parameter>
<parameter>-</parameter>
<parameter>200*TimeDelta()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Acceleration</comment>
<comment2></comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Up</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&lt;</parameter>
<parameter>400</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>+</parameter>
<parameter>500*TimeDelta()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Braking</comment>
<comment2>Freinage progressif</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Down</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&gt;</parameter>
<parameter>-75</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>-</parameter>
<parameter>600*TimeDelta()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
<comment>Braking at high speed</comment>
<comment2>Freinage à haute vitesse</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&gt;</parameter>
<parameter>150</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Down</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="Timer" />
<parameters>
<parameter></parameter>
<parameter>0.5</parameter>
<parameter>&quot;TraceFrein&quot;</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>frein</parameter>
<parameter>Voiture.X(Roue1)</parameter>
<parameter>Voiture.Y(Roue1)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>frein</parameter>
<parameter>Voiture.X(Roue2)</parameter>
<parameter>Voiture.Y(Roue2)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ChangeDirection" />
<parameters>
<parameter>frein</parameter>
<parameter>=</parameter>
<parameter>Voiture.Direc()</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ChangePlan" />
<parameters>
<parameter>frein</parameter>
<parameter>=</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;TraceFrein&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&lt;</parameter>
<parameter>20</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Down</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="KeyPressed" />
<parameters>
<parameter></parameter>
<parameter>Up</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Demarrage rapide</parameter>
<parameter>=</parameter>
<parameter>1</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&gt;</parameter>
<parameter>20</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Demarrage rapide</parameter>
<parameter>=</parameter>
<parameter>1</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>fumée</parameter>
<parameter>Voiture.X(Roue1)</parameter>
<parameter>Voiture.Y(Roue1)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>fumée</parameter>
<parameter>Voiture.X(Roue2)</parameter>
<parameter>Voiture.Y(Roue2)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>=</parameter>
<parameter>130</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Demarrage rapide</parameter>
<parameter>=</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Move the car according to its acceleration</comment>
<comment2>Faire bouger la voiture</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="AddForceAL" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Voiture.Direc()</parameter>
<parameter>Voiture.Variable(acceleration)</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Slowing down car</comment>
<comment2>Ralentir progressivement la voiture</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&gt;</parameter>
<parameter>0</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>-</parameter>
<parameter>50*TimeDelta()</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Collision management</comment>
<comment2></comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="Collision" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Batiment</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Rebondir" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Batiment</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Collision with effects</comment>
<comment2></comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="VarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>&gt;</parameter>
<parameter>100</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="Collision" />
<parameters>
<parameter>Voiture</parameter>
<parameter>Batiment</parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="ModVarObjet" />
<parameters>
<parameter>Voiture</parameter>
<parameter>acceleration</parameter>
<parameter>=</parameter>
<parameter>100</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>etincelle</parameter>
<parameter>Voiture.PointX(Centre)</parameter>
<parameter>Voiture.PointY(Centre)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>etincelle</parameter>
<parameter>Voiture.PointX(Centre)</parameter>
<parameter>Voiture.PointY(Centre)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>etincelle</parameter>
<parameter>Voiture.PointX(Centre)</parameter>
<parameter>Voiture.PointY(Centre)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="AddForceAL" />
<parameters>
<parameter>etincelle</parameter>
<parameter>Random(360)</parameter>
<parameter>Random(60)+70</parameter>
<parameter>0.5</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ChangePlan" />
<parameters>
<parameter>etincelle</parameter>
<parameter>=</parameter>
<parameter>6</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>fumée</parameter>
<parameter>Voiture.X()+Random(60)</parameter>
<parameter>Voiture.Y()+Random(60)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="Create" />
<parameters>
<parameter></parameter>
<parameter>fumée</parameter>
<parameter>Voiture.X()+Random(60)</parameter>
<parameter>Voiture.Y()+Random(60)</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ChangePlan" />
<parameters>
<parameter>fumée</parameter>
<parameter>=</parameter>
<parameter>6</parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ChangeAnimation" />
<parameters>
<parameter>fumée</parameter>
<parameter>=</parameter>
<parameter>Random(2)</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Smoke and effects management</comment>
<comment2></comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="AddForceAL" />
<parameters>
<parameter>fumée</parameter>
<parameter>200+Random(90)</parameter>
<parameter>Random(50)</parameter>
<parameter>0</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="Vitesse" />
<parameters>
<parameter>etincelle</parameter>
<parameter>&lt;</parameter>
<parameter>60</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Delete" />
<parameters>
<parameter>etincelle</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions>
<condition>
<type inverted="false" value="Timer" />
<parameters>
<parameter></parameter>
<parameter>1</parameter>
<parameter>&quot;SmokeDestroy&quot;</parameter>
</parameters>
<subConditions />
</condition>
<condition>
<type inverted="false" value="AjoutHasard" />
<parameters>
<parameter></parameter>
<parameter>fumée</parameter>
<parameter></parameter>
<parameter>fumée</parameter>
</parameters>
<subConditions />
</condition>
</conditions>
<actions>
<action>
<type inverted="false" value="Delete" />
<parameters>
<parameter>fumée</parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="ResetTimer" />
<parameters>
<parameter></parameter>
<parameter>&quot;SmokeDestroy&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Comment</type>
<color b="128" g="255" r="255" textB="0" textG="0" textR="0" />
<comment>Camera and user interface</comment>
<comment2>Caméra et interface utilisateur</comment2>
</event>
<event disabled="false" folded="false">
<type>BuiltinCommonInstructions::Standard</type>
<conditions />
<actions>
<action>
<type inverted="false" value="CentreCamera" />
<parameters>
<parameter></parameter>
<parameter>Voiture</parameter>
<parameter></parameter>
<parameter></parameter>
<parameter></parameter>
</parameters>
<subActions />
</action>
<action>
<type inverted="false" value="TextObject::String" />
<parameters>
<parameter>Speed</parameter>
<parameter>=</parameter>
<parameter>ToString(int(Voiture.Longueur()/2)) + &quot; km/h&quot;</parameter>
</parameters>
<subActions />
</action>
</actions>
<events />
</event>
</events>
<layers>
<layer name="" visibility="true">
<cameras>
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
</cameras>
</layer>
<layer name="Interface" visibility="true">
<cameras>
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
</cameras>
</layer>
</layers>
<automatismsSharedData />
</layout>
</layouts>
<externalEvents />
<externalLayouts />
<externalSourceFiles />
</project>