Main menu elements introduced.

origin
YandolsZX 6 years ago
parent 3f28aaf4f9
commit b5698eeba5
  1. BIN
      Animations/MM_Cursor/Default/000.png
  2. 2
      Event sheets/ES - Intro Scene.uistate.xml
  3. 142
      Event sheets/ES - Main Menu.xml
  4. 7
      Layouts/Main Menu.uistate.xml
  5. 134
      Layouts/Main Menu.xml
  6. 40
      Resistance Saga FYP.caproj
  7. BIN
      Resistance Saga FYP.capx.autosave
  8. BIN
      Resistance Saga FYP.capx.backup1
  9. 13
      Resistance Saga FYP.uistate.xml
  10. BIN
      Textures/MM_TFExitGame.png
  11. BIN
      Textures/MM_TFLoadGame.png
  12. BIN
      Textures/MM_TFNewGame.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

@ -4,7 +4,7 @@
It is entirely optional and the project will load without it. If you are placing the project under source control,
you probably do not want to add any .uistate.xml files to the repository.-->
<show-addaction-links>1</show-addaction-links>
<scroll-pos>1100</scroll-pos>
<scroll-pos>1375</scroll-pos>
<conditions-column>240</conditions-column>
<actions-namecolumn>143</actions-namecolumn>
<condition-namecolumns>

@ -3,6 +3,8 @@
<!--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>
<comment>Screen Initiator</comment>
<event-block sid="754797739548186">
<conditions>
<condition id="-2" name="On start of layout" sid="730120773255500" type="System" />
@ -23,5 +25,145 @@
<action behavior="Fade" id="0" name="Restart fade" sid="700074207700462" type="GameLogo2" />
</actions>
</event-block>
<comment>Cursor Position Manipulator</comment>
<event-block sid="293563397982497">
<conditions>
<condition id="3" name="On key released" sid="533922688470572" type="Keyboard">
<param id="0" name="Key">40 (Down arrow)</param>
</condition>
<condition id="-14" name="Compare variable" sid="684700834177621" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">0</param>
</condition>
</conditions>
<actions>
<action id="-9" name="Set value" sid="801459798411753" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Value">1</param>
</action>
<action id="-16" name="Wait" sid="432320226116178" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action disabled="1" id="0" name="Set text" sid="983350988705739" type="MM_TFLoadGame">
<param id="0" name="Text">MMCursorPosition</param>
</action>
</actions>
</event-block>
<event-block sid="379937412054660">
<conditions>
<condition id="3" name="On key released" sid="982333877025057" type="Keyboard">
<param id="0" name="Key">40 (Down arrow)</param>
</condition>
<condition id="-14" name="Compare variable" sid="366346298360168" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">1</param>
</condition>
</conditions>
<actions>
<action id="-9" name="Set value" sid="165191737875843" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Value">2</param>
</action>
<action id="-16" name="Wait" sid="279001782466726" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action disabled="1" id="0" name="Set text" sid="136668121185837" type="MM_TFLoadGame">
<param id="0" name="Text">MMCursorPosition</param>
</action>
</actions>
</event-block>
<event-block sid="704399995971443">
<conditions>
<condition id="3" name="On key released" sid="779587687768671" type="Keyboard">
<param id="0" name="Key">38 (Up arrow)</param>
</condition>
<condition id="-14" name="Compare variable" sid="725117270546887" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">2</param>
</condition>
</conditions>
<actions>
<action id="-9" name="Set value" sid="720681610726605" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Value">1</param>
</action>
<action id="-16" name="Wait" sid="759820834066998" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action disabled="1" id="0" name="Set text" sid="753892701506034" type="MM_TFLoadGame">
<param id="0" name="Text">MMCursorPosition</param>
</action>
</actions>
</event-block>
<event-block sid="501635461232996">
<conditions>
<condition id="3" name="On key released" sid="258966565567909" type="Keyboard">
<param id="0" name="Key">38 (Up arrow)</param>
</condition>
<condition id="-14" name="Compare variable" sid="157235255202846" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">1</param>
</condition>
</conditions>
<actions>
<action id="-9" name="Set value" sid="456923621994690" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Value">0</param>
</action>
<action id="-16" name="Wait" sid="822685033761659" type="System">
<param id="0" name="Seconds">0.5</param>
</action>
<action disabled="1" id="0" name="Set text" sid="459372806546476" type="MM_TFLoadGame">
<param id="0" name="Text">MMCursorPosition</param>
</action>
</actions>
</event-block>
<comment>Cursor Position Actions</comment>
<event-block sid="197593168935831">
<conditions>
<condition id="-14" name="Compare variable" sid="302444838811757" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">0</param>
</condition>
</conditions>
<actions>
<action id="-2" name="Set Y" sid="272324874344481" type="MM_Cursor">
<param id="0" name="Y">452</param>
</action>
</actions>
</event-block>
<event-block sid="660396516248223">
<conditions>
<condition id="-14" name="Compare variable" sid="437978231352857" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">1</param>
</condition>
</conditions>
<actions>
<action id="-2" name="Set Y" sid="689490647204047" type="MM_Cursor">
<param id="0" name="Y">532</param>
</action>
</actions>
</event-block>
<event-block sid="548369208288570">
<conditions>
<condition id="-14" name="Compare variable" sid="828332676942394" type="System">
<param id="0" name="Variable">MMCursorPosition</param>
<param id="1" name="Comparison">0</param>
<param id="2" name="Value">2</param>
</condition>
</conditions>
<actions>
<action id="-2" name="Set Y" sid="194202572889282" type="MM_Cursor">
<param id="0" name="Y">612</param>
</action>
</actions>
</event-block>
</events>
</c2eventsheet>

@ -5,10 +5,10 @@ It is entirely optional and the project will load without it. If you are placin
you probably do not want to add any .uistate.xml files to the repository.-->
<camera>
<position-x>637.658</position-x>
<position-y>290</position-y>
<position-z>200</position-z>
<position-y>415</position-y>
<position-z>100</position-z>
<lookat-x>637.658</lookat-x>
<lookat-y>290</lookat-y>
<lookat-y>415</lookat-y>
<lookat-z>0</lookat-z>
</camera>
<snap-to-grid>0</snap-to-grid>
@ -27,5 +27,6 @@ you probably do not want to add any .uistate.xml files to the repository.-->
<layers>
<layer locked="1" name="Layer 0" parallax-in-editor="0" visible="1" />
<layer locked="0" name="Layer 1" parallax-in-editor="0" visible="1" />
<layer locked="1" name="Layer 2" parallax-in-editor="0" visible="1" />
</layers>
</c2uistate>

@ -55,6 +55,140 @@
<effects />
</layer>
<layer name="Layer 1" sid="435389480521951">
<initially-visible>1</initially-visible>
<background-color>255,255,255</background-color>
<transparent>1</transparent>
<parallax>
<x>1</x>
<y>1</y>
</parallax>
<zoom-rate>1</zoom-rate>
<opacity>1</opacity>
<force-own-texture>0</force-own-texture>
<global>0</global>
<use-render-cells>0</use-render-cells>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<instances>
<instance type="MM_TFNewGame" uid="44">
<properties>
<character-width>16</character-width>
<character-height>16</character-height>
<character-set>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#&quot;&apos;&amp;()[]|`\/@°+=*$£€&lt;&gt;</character-set>
<text>New Game</text>
<scale>1.5</scale>
<initial-visibility>Visible</initial-visibility>
<horizontal-alignment>Left</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<character-spacing>-4</character-spacing>
<line-height>0</line-height>
</properties>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>570</x>
<y>440</y>
<z>0</z>
<width>200</width>
<height>30</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
<instance type="MM_TFLoadGame" uid="45">
<properties>
<character-width>16</character-width>
<character-height>16</character-height>
<character-set>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#&quot;&apos;&amp;()[]|`\/@°+=*$£€&lt;&gt;</character-set>
<text>Load Game</text>
<scale>1.5</scale>
<initial-visibility>Visible</initial-visibility>
<horizontal-alignment>Left</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<character-spacing>-4</character-spacing>
<line-height>0</line-height>
</properties>
<effect-instances>
<effect-instance type="Subtract" />
</effect-instances>
<blend-mode>0</blend-mode>
<effect-fallback>9</effect-fallback>
<world>
<x>570</x>
<y>520</y>
<z>0</z>
<width>200</width>
<height>30</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
<instance type="MM_TFExitGame" uid="46">
<properties>
<character-width>16</character-width>
<character-height>16</character-height>
<character-set>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#&quot;&apos;&amp;()[]|`\/@°+=*$£€&lt;&gt;</character-set>
<text>Exit to Desktop</text>
<scale>1.5</scale>
<initial-visibility>Visible</initial-visibility>
<horizontal-alignment>Left</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<character-spacing>-4</character-spacing>
<line-height>0</line-height>
</properties>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>570</x>
<y>600</y>
<z>0</z>
<width>320</width>
<height>30</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
<instance type="MM_Cursor" uid="47">
<properties>
<initial-visibility>Visible</initial-visibility>
<initial-animation>Default</initial-animation>
<initial-frame>0</initial-frame>
<collisions>Enabled</collisions>
</properties>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>520</x>
<y>452</y>
<z>0</z>
<width>24</width>
<height>24</height>
<depth>0</depth>
<hotspotX>0.5</hotspotX>
<hotspotY>0.5</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
</instances>
<effects />
</layer>
<layer name="Layer 2" sid="812264307127837">
<initially-visible>1</initially-visible>
<background-color>255,255,255</background-color>
<transparent>1</transparent>

@ -28,7 +28,9 @@
<behavior author="Scirra" id="scrollto" version="1">Scroll To</behavior>
<behavior author="Scirra" id="solid" version="1">Solid</behavior>
</used-behaviors>
<used-effects />
<used-effects>
<effect author="Scirra" id="subtract">Subtract</effect>
</used-effects>
<configurations>
<configuration exporter-descname="HTML5" exporter-id="html5" name="HTML5" />
</configurations>
@ -489,6 +491,42 @@
</animation>
</animation-folder>
</object-type>
<object-type name="MM_TFNewGame" sid="504374515518289">
<plugin id="Spritefont2" />
<texture original-source="C:\Users\yando\Google Drive\Photoshops (N550LF)\College\FYP\SpriteFont_i.png" />
</object-type>
<object-type name="MM_TFLoadGame" sid="622305828733128">
<plugin id="Spritefont2" />
<effects>
<effect-type name="Subtract">
<effect id="subtract" />
</effect-type>
</effects>
<texture original-source="C:\Users\yando\Google Drive\Photoshops (N550LF)\College\FYP\SpriteFont_i.png" />
</object-type>
<object-type name="MM_TFExitGame" sid="959304024593479">
<plugin id="Spritefont2" />
<texture original-source="C:\Users\yando\Google Drive\Photoshops (N550LF)\College\FYP\SpriteFont_i.png" />
</object-type>
<object-type name="MM_Cursor" sid="222063632853027">
<plugin id="Sprite" />
<animation-folder>
<animation framecount="1" loop="0" name="Default" pingpong="0" repeatcount="1" repeatto="0" sid="605659802340973" speed="5">
<frame duration="1" hotspotX="0.5" hotspotY="0.5" original-source="C:\Users\yando\AppData\Local\Temp\Rar$DRa1212.34542\Ardentryst-GUICursorsArrowsIconsMarkers\Ardentryst-Arrowright.png">
<collision-poly>
<point x="0.375" y="0.375" />
<point x="0.5" y="0" />
<point x="0.75" y="0.25" />
<point x="0.9375" y="0.5" />
<point x="0.75" y="0.75" />
<point x="0.5" y="0.9375" />
<point x="0.5" y="0.5" />
<point x="0" y="0.5" />
</collision-poly>
</frame>
</animation>
</animation-folder>
</object-type>
</object-folder>
<families />
<layout-folder>

Binary file not shown.

Binary file not shown.

@ -10,12 +10,12 @@ you probably do not want to add any .uistate.xml files to the repository.-->
<display name="HTML5" />
</configurations>
<open-tabs>
<layout order="1">Preloader</layout>
<layout order="3">Main Menu</layout>
<layout order="5">Intro Scene</layout>
<event-sheet order="2">ES - Preloader</event-sheet>
<event-sheet order="4">ES - Main Menu</event-sheet>
<event-sheet active="1" order="6">ES - Intro Scene</event-sheet>
<layout order="0">Preloader</layout>
<layout order="2">Main Menu</layout>
<layout order="4">Intro Scene</layout>
<event-sheet order="1">ES - Preloader</event-sheet>
<event-sheet active="1" order="3">ES - Main Menu</event-sheet>
<event-sheet order="5">ES - Intro Scene</event-sheet>
</open-tabs>
<properties>
<property expanded="1" name="About" />
@ -49,5 +49,6 @@ you probably do not want to add any .uistate.xml files to the repository.-->
<folder expanded="1" path="animation-folder/IS_DialogBox/" />
<folder expanded="1" path="animation-folder/IS_FS_PreTitle1/" />
<folder expanded="1" path="animation-folder/IS_FS_PreTitle2/" />
<folder expanded="1" path="animation-folder/MM_Cursor/" />
</folders-expanded>
</c2uistate>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Loading…
Cancel
Save