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 - Preloader.xml

100 lines
5.2 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 - Preloader</name>
<events>
<comment>Import CSS and other Files</comment>
<event-block sid="106094978557666">
<conditions>
<condition id="-2" name="On start of layout" sid="301759806984551" type="System" />
</conditions>
<actions>
<action id="0" name="Import file" sid="394684443977430" type="Import">
<param id="0" name="Import file">&quot;buttonstyles.css&quot;</param>
</action>
5 years ago
<action id="2" name="Set CSS style" sid="624064939754692" type="PreloaderProgressBar">
<param id="0" name="Property name">&quot;background-color&quot;</param>
<param id="1" name="Value">&quot;#000000&quot;</param>
</action>
5 years ago
<action id="2" name="Set CSS style" sid="205936326275221" type="PreloaderProgressBar">
<param id="0" name="Property name">&quot;color&quot;</param>
<param id="1" name="Value">&quot;#0000FF&quot;</param>
</action>
</actions>
</event-block>
<comment>Force the game to switch to full screen mode if the game did not start in it</comment>
<event-block sid="551128505294710">
<conditions>
<condition id="-2" name="On start of layout" sid="589444204051829" type="System" />
<condition id="-18" inverted="1" name="Is in preview" sid="782271285373657" type="System" />
</conditions>
<actions>
<action id="10" name="Request fullscreen" sid="607915611232662" type="Browser">
<param id="0" name="Mode">0</param>
</action>
<action id="18" name="Lock orientation" sid="247124623151759" type="Browser">
<param id="0" name="Orientation">1</param>
</action>
</actions>
</event-block>
Tons of uncommited changes since the last commit. In ascending order: * Added music to the intro scene by the same composer of the title theme (DJ-Rec0il). * Redone animations event script (and removed falling animation due to infinite loop problems). * Added enemies sprites. * Grouped enemy collisions. * Completely redesigned levels again due to data loss. * Changed level design to use Tilemap instead of Tiled Background. * Fixed main menu going blank if user hit the space button before everything finished loading. * Made BombEnemy animated. * Altered some frames in Player walking animation. * Fixed some parts of ground tile being incorrectly impassable. * Rewritten some parts of the story dialogues on levels. * Added music by PrototypeRaptor for levels. * Fixed respawn bug. * Fixed incorrect parallaxing when transitioning from L1PRE to Level 1 by using a workaround. * Added empire trooper to end of Level 1. * Updated main menu cursor to also be controllable by W and S keys. * Updated main menu cursor confirm button to also accept the ENTER/Return key. * Rebalanced enemy projectile speed and damage dealth amount. * Added Level 1B for boss fight arena with appropriate music. * Added a new layer for stage decorations and added trees to L1PRE and Level 1. * Fixed another parallaxing bug. * Removed boss fight because I can't get the AI to work properly. Game ends at a To Be Continued screen. * Level 1B still remains intact, just unused for now. * Fixed some collision problems with the stage decorations. * Rearranged a bit of the Level 1 starting scripts. * Fixed a bug where the text character ' does not render properly in dialogs. * Fixed typo in dialogs. * Made the game now return to the Main Menu Screen automatically after the To Be Continued Screen. * Remove pressing ESCAPE to quit the game functionality to prevent accidental quit game. * Fixed more text rendering issues relating to the text character ' . * Adjusted some dialog timings in cutscenes.
5 years ago
<comment>For compatibility reasons, forcefully shut down game if it was run on a mobile device for some reason</comment>
<event-block sid="374583832179131">
<conditions>
<condition id="-20" name="Is on mobile device" sid="430082288210219" type="System" />
</conditions>
<actions>
<action id="0" name="Alert" sid="771392905172935" type="Browser">
<param id="0" name="Message">&quot;Unsupported Operating Environment. The application will now close.&quot;</param>
</action>
<action id="1" name="Close" sid="630791167109339" type="Browser" />
</actions>
</event-block>
<comment>Progress bar and loading</comment>
<event-block sid="407600447699784">
<conditions>
<condition id="-2" name="On start of layout" sid="521637378565393" type="System" />
</conditions>
<actions>
<action id="-16" name="Wait" sid="715071429959216" type="System">
<param id="0" name="Seconds">0.2</param>
</action>
<action id="1" name="Set visible" sid="497581675156368" type="PreloaderProgressBar">
<param id="0" name="Visibility">1</param>
</action>
</actions>
</event-block>
<event-block sid="354924583797983">
<conditions>
<condition id="-1" name="Every tick" sid="335819371251369" type="System" />
</conditions>
<actions>
5 years ago
<action id="3" name="Set progress" sid="725026166485727" type="PreloaderProgressBar">
<param id="0" name="Value">round(loadingprogress * 100)</param>
</action>
</actions>
</event-block>
<comment>Handle data load completion and start the game</comment>
<event-block sid="707634872286812">
<conditions>
<condition disabled="1" id="-25" name="On loader layout complete" sid="986128008632173" type="System" />
<condition id="-8" name="Compare two values" sid="426367472133409" type="System">
<param id="0" name="First value">loadingprogress</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Second value">1</param>
</condition>
</conditions>
<actions>
5 years ago
<action id="3" name="Set progress" sid="960649115845165" type="PreloaderProgressBar">
<param id="0" name="Value">round(loadingprogress * 100)</param>
</action>
<action id="-16" name="Wait" sid="431223496906133" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action id="-2" name="Go to layout" sid="827169667805913" type="System">
<param id="0" name="Layout">Intro Scene</param>
</action>
</actions>
</event-block>
</events>
</c2eventsheet>