This is the repository for Yandols' Bachelor's Degree Final Year Project Game (2019). Game created in Construct 2 and Launcher/Updater is created with AHK.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ResistanceSaga/Event sheets/ES - Main Menu.xml

127 lines
6.4 KiB

<?xml version="1.0" encoding="utf-8" ?>
<c2eventsheet>
<!--All the 'name' attributes are ignored by Construct 2 - they are there for readability only.-->
<name>ES - Main Menu</name>
<events>
<variable constant="0" name="MMCursorPosition" sid="369508152281122" static="0" type="number">0</variable>
<variable constant="0" name="MMCursorProjectileCD" sid="991957726972338" static="0" type="number">0</variable>
<comment>Screen Initiator</comment>
<event-block sid="754797739548186">
<conditions>
<condition id="-2" name="On start of layout" sid="730120773255500" type="System" />
</conditions>
<actions>
<action id="0" name="Play" sid="935869911884173" type="Audio">
<param id="0" name="Audio file">TitleTrance</param>
<param id="2" name="Loop">1</param>
<param id="3" name="Volume">-5</param>
<param id="1" name="Tag (optional)">&quot;TitleTrance&quot;</param>
</action>
<action id="-16" name="Wait" sid="148185889735698" type="System">
<param id="0" name="Seconds">1.5</param>
</action>
<action id="-15" name="Set visible" sid="576177044965125" type="GameLogo2">
<param id="0" name="Visibility">1</param>
</action>
<action behavior="Fade" id="0" name="Restart fade" sid="700074207700462" type="GameLogo2" />
</actions>
</event-block>
<comment>Cursor Position Manipulator</comment>
<event-block sid="806731101159712">
<conditions>
<condition id="2" name="Key is down" sid="373375725050225" type="Keyboard">
<param id="0" name="Key">40 (Down arrow)</param>
</condition>
</conditions>
<actions>
<action behavior="8Direction" id="7" name="Simulate control" sid="805891542041645" type="MM_Cursor">
<param id="0" name="Control">3</param>
</action>
</actions>
</event-block>
<event-block sid="949760597058576">
<conditions>
<condition id="2" name="Key is down" sid="742149715033428" type="Keyboard">
<param id="0" name="Key">38 (Up arrow)</param>
</condition>
</conditions>
<actions>
<action behavior="8Direction" id="7" name="Simulate control" sid="149330234966931" type="MM_Cursor">
<param id="0" name="Control">2</param>
</action>
</actions>
</event-block>
<event-block sid="691028404037370">
<conditions>
<condition id="2" name="Key is down" sid="744778682864002" type="Keyboard">
<param id="0" name="Key">32 (Space)</param>
</condition>
<condition id="-14" name="Compare variable" sid="539073029226978" type="System">
<param id="0" name="Variable">MMCursorProjectileCD</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">0</param>
</condition>
</conditions>
<actions>
<action id="0" name="Spawn another object" sid="121350911024047" type="MM_Cursor">
<param id="0" name="Object">MM_Cursor_Projectile</param>
<param id="1" name="Layer">1</param>
<param id="2" name="Image point">0</param>
</action>
<action id="-9" name="Set value" sid="186071965671642" type="System">
<param id="0" name="Variable">MMCursorProjectileCD</param>
<param id="1" name="Value">1</param>
</action>
<action id="-16" name="Wait" sid="229583434735390" type="System">
<param id="0" name="Seconds">1.1</param>
</action>
<action id="-9" name="Set value" sid="552848219452433" type="System">
<param id="0" name="Variable">MMCursorProjectileCD</param>
<param id="1" name="Value">0</param>
</action>
</actions>
</event-block>
<comment>Cursor Position Actions</comment>
<event-block sid="253450489881516">
<conditions>
<condition id="0" name="On collision with another object" sid="492836453937580" type="MM_Cursor_Projectile">
<param id="0" name="Object">MM_TFNewGame</param>
</condition>
</conditions>
<actions>
<action id="-16" name="Wait" sid="814567450030372" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action id="-9" name="Destroy" sid="956200627377454" type="MM_Cursor_Projectile" />
</actions>
</event-block>
<event-block sid="625027985250192">
<conditions>
<condition id="0" name="On collision with another object" sid="102659883628277" type="MM_Cursor_Projectile">
<param id="0" name="Object">MM_TFLoadGame</param>
</condition>
</conditions>
<actions>
<action id="-16" name="Wait" sid="328578109093946" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action id="-9" name="Destroy" sid="627717160874167" type="MM_Cursor_Projectile" />
</actions>
</event-block>
<event-block sid="472463975482474">
<conditions>
<condition id="0" name="On collision with another object" sid="107505767447722" type="MM_Cursor_Projectile">
<param id="0" name="Object">MM_TFExitGame</param>
</condition>
</conditions>
<actions>
<action id="-16" name="Wait" sid="823622601878732" type="System">
<param id="0" name="Seconds">0.8</param>
</action>
<action id="-9" name="Destroy" sid="260917658666180" type="MM_Cursor_Projectile" />
<action id="1" name="Close" sid="649549831221963" type="Browser" />
</actions>
</event-block>
</events>
</c2eventsheet>