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/Event sheet 1.xml

109 lines
5.0 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>Event sheet 1</name>
<events>
<comment>Use the down arrow to allow the player to deliberately drop down through a jump-thru platform.</comment>
<event-block sid="145310952915924">
<conditions>
<condition id="0" name="On key pressed" sid="788574484285809" type="Keyboard">
<param id="0" name="Key">40 (Down arrow)</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="12" name="Fall through" sid="527766478705947" type="Player" />
</actions>
</event-block>
<comment>Allow WASD as alternate controls to arrow keys.</comment>
<event-block sid="593069418442206">
<conditions>
<condition id="2" name="Key is down" sid="869842244858033" type="Keyboard">
<param id="0" name="Key">87 (W)</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="461998598315695" type="Player">
<param id="0" name="Control">2</param>
</action>
</actions>
</event-block>
<event-block sid="165576021858155">
<conditions>
<condition id="2" name="Key is down" sid="792690245298557" type="Keyboard">
<param id="0" name="Key">65 (A)</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="274808759175132" type="Player">
<param id="0" name="Control">0</param>
</action>
</actions>
</event-block>
<event-block sid="836258501648205">
<conditions>
<condition id="2" name="Key is down" sid="382293696105831" type="Keyboard">
<param id="0" name="Key">83 (S)</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="12" name="Fall through" sid="548920769640951" type="Player" />
</actions>
</event-block>
<event-block sid="870558932356377">
<conditions>
<condition id="2" name="Key is down" sid="565227079089768" type="Keyboard">
<param id="0" name="Key">68 (D)</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="330728624366280" type="Player">
<param id="0" name="Control">1</param>
</action>
</actions>
</event-block>
<comment>Mirror the player&apos;s image so they appear facing the right way when moving left or right.</comment>
<event-block any="1" sid="333748951204005">
<conditions>
<condition id="0" name="On key pressed" sid="377063670302951" type="Keyboard">
<param id="0" name="Key">37 (Left arrow)</param>
</condition>
<condition id="0" name="On key pressed" sid="767933467890921" type="Keyboard">
<param id="0" name="Key">65 (A)</param>
</condition>
</conditions>
<actions>
<action id="7" name="Set mirrored" sid="416997846912114" type="Player">
<param id="0" name="State">0</param>
</action>
</actions>
</event-block>
<event-block any="1" sid="947645205493116">
<conditions>
<condition id="0" name="On key pressed" sid="190113424684802" type="Keyboard">
<param id="0" name="Key">39 (Right arrow)</param>
</condition>
<condition id="0" name="On key pressed" sid="702475747539910" type="Keyboard">
<param id="0" name="Key">68 (D)</param>
</condition>
</conditions>
<actions>
<action id="7" name="Set mirrored" sid="571684516848656" type="Player">
<param id="0" name="State">1</param>
</action>
</actions>
</event-block>
<comment>If the player falls off the bottom of the layout, restart the level.</comment>
<event-block sid="762372596876692">
<conditions>
<condition id="-2" name="Compare Y" sid="720720242116172" type="Player">
<param id="0" name="Comparison">4</param>
<param id="1" name="Y co-ordinate">LayoutHeight</param>
</condition>
</conditions>
<actions>
<action id="-26" name="Restart layout" sid="612673973648679" type="System" />
</actions>
</event-block>
</events>
</c2eventsheet>