mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
244 lines
14 KiB
XML
244 lines
14 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||
<Project>
|
||
<GDVersion Major="3" Minor="0" Build="11297" Revision="57008" />
|
||
<Info winExecutableFilename="" winExecutableIconFile="" linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false">
|
||
<Nom value="Project" />
|
||
<Auteur value="" />
|
||
<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" />
|
||
<Extension name="AdvancedXML" />
|
||
</Extensions>
|
||
<Platforms current="Game Develop C++ platform">
|
||
<Platform name="Game Develop C++ platform" />
|
||
</Platforms>
|
||
<WindowW value="800" />
|
||
<WindowH value="600" />
|
||
<Portable />
|
||
<LatestCompilationDirectory value="" />
|
||
<FPSmax value="60" />
|
||
<FPSmin value="10" />
|
||
<verticalSync value="false" />
|
||
</Info>
|
||
<Resources>
|
||
<Resources />
|
||
<ResourceFolders />
|
||
</Resources>
|
||
<Objects />
|
||
<ObjectGroups />
|
||
<Variables />
|
||
<Scenes firstScene="">
|
||
<Scene nom="New scene" mangledName="New_32scene" r="209.000000" v="209.000000" b="209.000000" titre="" oglFOV="90.000000" oglZNear="1.000000" oglZFar="500.000000" standardSortMethod="true" stopSoundsOnStartup="true" disableInputWhenNotFocused="true">
|
||
<UISettings gridWidth="32.000000" grid="false" snap="true" gridHeight="32.000000" gridR="158.000000" gridG="180.000000" gridB="255.000000" zoomFactor="1.000000" windowMask="false" associatedLayout="" />
|
||
<GroupesObjets />
|
||
<Objets>
|
||
<Objet nom="Explanation" type="TextObject::Text" smoothed="true" bold="false" italic="true" underlined="false">
|
||
<Variables />
|
||
<String value="Launch the scene, choose a file, and then open the file
to see the result." />
|
||
<Font value="" />
|
||
<CharacterSize value="30" />
|
||
<Color r="0" g="0" b="0" />
|
||
</Objet>
|
||
<Objet nom="Explanation_fr" type="TextObject::Text" smoothed="true" bold="false" italic="true" underlined="false">
|
||
<Variables />
|
||
<String value="Lancez la sc<73>ne, choissisez un fichier et ouvrez le pour voir le r<>sultat." />
|
||
<Font value="" />
|
||
<CharacterSize value="15" />
|
||
<Color r="0" g="0" b="0" />
|
||
</Objet>
|
||
</Objets>
|
||
<Layers>
|
||
<Layer Name="" Visibility="true">
|
||
<Camera DefaultSize="true" Width="0.000000" Height="0.000000" DefaultViewport="true" ViewportLeft="0.000000" ViewportTop="0.000000" ViewportRight="1.000000" ViewportBottom="1.000000" />
|
||
</Layer>
|
||
</Layers>
|
||
<Variables />
|
||
<AutomatismsSharedDatas />
|
||
<Positions>
|
||
<Objet nom="Explanation" x="23.000000" y="200.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
|
||
<floatInfos />
|
||
<stringInfos />
|
||
<InitialVariables />
|
||
</Objet>
|
||
<Objet nom="Explanation_fr" x="28.000000" y="282.000000" plan="0" layer="" angle="0.000000" personalizedSize="false" width="0.000000" height="0.000000" locked="false">
|
||
<floatInfos />
|
||
<stringInfos />
|
||
<InitialVariables />
|
||
</Objet>
|
||
</Positions>
|
||
<Events>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Comment" />
|
||
<Couleur r="255.000000" v="230.000000" b="109.000000" textR="0.000000" textG="0.000000" textB="0.000000" />
|
||
<Com1 value='Let's create an XML file with this structure:

<Root>
 <MyFirstElement myAttribute="valueOfMyAttribute" />
 <!--Nice comment-->
 <MySecondElement>
 <MyRepeatedElement randomAttribute="4.000000" />
 ... repeated 10 times
 <MyRepeatedElement randomAttribute="4.000000" />
 </MySecondElement>
</Root>
' />
|
||
<Com2 value="Cr<43>eons un fichier avec cette structure" />
|
||
</Event>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Standard" />
|
||
<Conditions>
|
||
<Condition>
|
||
<Type value="DepartScene" Contraire="false" />
|
||
<Parametre value="" />
|
||
</Condition>
|
||
</Conditions>
|
||
<Actions>
|
||
<Action>
|
||
<Type value="AdvancedXML::NewFile" />
|
||
<Parametre value='"MyDocument"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::CreateNewElement" />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value="0" />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::InsertElementIntoAnother" />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value='"MyDocument"' />
|
||
<Parametre value="" />
|
||
<Parametre value="" />
|
||
</Action>
|
||
</Actions>
|
||
<Events>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Standard" />
|
||
<Conditions />
|
||
<Actions>
|
||
<Action>
|
||
<Type value="AdvancedXML::CreateNewElement" />
|
||
<Parametre value='"MyFirstElement"' />
|
||
<Parametre value="0" />
|
||
<Parametre value='"MyFirstElement"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::CreateNewElement" />
|
||
<Parametre value='"MySecondElement"' />
|
||
<Parametre value="0" />
|
||
<Parametre value='"MySecondElement"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::InsertElementIntoAnother" />
|
||
<Parametre value='"MyFirstElement"' />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value="" />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::InsertElementIntoAnother" />
|
||
<Parametre value='"MySecondElement"' />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value="" />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::SetAttributeString" />
|
||
<Parametre value='"MyFirstElement"' />
|
||
<Parametre value='"myAttribute"' />
|
||
<Parametre value="=" />
|
||
<Parametre value='"valueOfMyAttribute"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
</Actions>
|
||
</Event>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Repeat" />
|
||
<RepeatExpression value="10" />
|
||
<Conditions />
|
||
<Actions>
|
||
<Action>
|
||
<Type value="AdvancedXML::CreateNewElement" />
|
||
<Parametre value='"MyRepeatedElement"' />
|
||
<Parametre value="0" />
|
||
<Parametre value='"MyRepeatedElement"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::InsertElementIntoAnother" />
|
||
<Parametre value='"MyRepeatedElement"' />
|
||
<Parametre value='"MySecondElement"' />
|
||
<Parametre value="" />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::SetAttributeNumber" />
|
||
<Parametre value='"MyRepeatedElement"' />
|
||
<Parametre value='"randomAttribute"' />
|
||
<Parametre value="=" />
|
||
<Parametre value="Random(10)" />
|
||
<Parametre value="" />
|
||
</Action>
|
||
</Actions>
|
||
</Event>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Standard" />
|
||
<Conditions />
|
||
<Actions>
|
||
<Action>
|
||
<Type value="AdvancedXML::CreateNewElement" />
|
||
<Parametre value='"MyComment"' />
|
||
<Parametre value="2" />
|
||
<Parametre value='"Nice comment"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::InsertElementIntoAnother" />
|
||
<Parametre value='"MyComment"' />
|
||
<Parametre value='"Root"' />
|
||
<Parametre value='"MySecondElement"' />
|
||
<Parametre value="" />
|
||
</Action>
|
||
</Actions>
|
||
</Event>
|
||
<Event disabled="false" folded="false">
|
||
<Type value="BuiltinCommonInstructions::Standard" />
|
||
<Conditions />
|
||
<Actions>
|
||
<Action>
|
||
<Type value="ShowOpenFile" />
|
||
<Parametre value='"C:\test.txt"' />
|
||
<Parametre value="file" />
|
||
<Parametre value='"Choose where to save the file"' />
|
||
<Parametre value='"XML file (*.xml)"' />
|
||
</Action>
|
||
<Action>
|
||
<Type value="AdvancedXML::SaveFile" />
|
||
<Parametre value="VariableString(file)" />
|
||
<Parametre value='"MyDocument"' />
|
||
<Parametre value="=" />
|
||
</Action>
|
||
</Actions>
|
||
</Event>
|
||
</Events>
|
||
</Event>
|
||
</Events>
|
||
</Scene>
|
||
</Scenes>
|
||
<ExternalEvents />
|
||
<ExternalLayouts />
|
||
<ExternalSourceFiles />
|
||
</Project>
|