Skip to content

Commit

Permalink
Versão 4.5 Controller Support (RT,LT,A)
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloestival committed Mar 11, 2019
1 parent ee9f366 commit 8994967
Show file tree
Hide file tree
Showing 18 changed files with 639 additions and 450 deletions.
2 changes: 1 addition & 1 deletion Event sheets/Event sheet 1.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>1736</scroll-pos>
<scroll-pos>1905</scroll-pos>
<conditions-column>240</conditions-column>
<actions-namecolumn>80</actions-namecolumn>
<condition-namecolumns>
Expand Down
45 changes: 45 additions & 0 deletions Event sheets/Event sheet 1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,5 +451,50 @@
</action>
</actions>
</event-block>
<event-block sid="392731825068652">
<conditions>
<condition id="3" name="Is button down" sid="138205712591624" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">0</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="487574921836693" type="Player">
<param id="0" name="Control">2</param>
</action>
</actions>
</event-block>
<event-block sid="243002377672992">
<conditions>
<condition id="3" name="Is button down" sid="178857106289966" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">7</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="889584404083072" type="Player">
<param id="0" name="Control">1</param>
</action>
<action id="7" name="Set mirrored" sid="549981800264161" type="Player">
<param id="0" name="State">1</param>
</action>
</actions>
</event-block>
<event-block sid="932217168798820">
<conditions>
<condition id="3" name="Is button down" sid="551538266875411" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">6</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="753443357011123" type="Player">
<param id="0" name="Control">0</param>
</action>
<action id="7" name="Set mirrored" sid="228348152271943" type="Player">
<param id="0" name="State">0</param>
</action>
</actions>
</event-block>
</events>
</c2eventsheet>
2 changes: 1 addition & 1 deletion Event sheets/Event sheet 2.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>1984</scroll-pos>
<scroll-pos>2139</scroll-pos>
<conditions-column>240</conditions-column>
<actions-namecolumn>80</actions-namecolumn>
<condition-namecolumns>
Expand Down
39 changes: 39 additions & 0 deletions Event sheets/Event sheet 2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -489,5 +489,44 @@
</action>
</actions>
</event-block>
<event-block sid="146238976612193">
<conditions>
<condition id="3" name="Is button down" sid="977881985235581" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">6</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="168940726945509" type="Player">
<param id="0" name="Control">0</param>
</action>
</actions>
</event-block>
<event-block sid="484022448045523">
<conditions>
<condition id="3" name="Is button down" sid="963871774465834" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">7</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="156310355621517" type="Player">
<param id="0" name="Control">1</param>
</action>
</actions>
</event-block>
<event-block sid="107897205835776">
<conditions>
<condition id="3" name="Is button down" sid="255792319712418" type="Controle">
<param id="0" name="Gamepad">0</param>
<param id="1" name="Button">0</param>
</condition>
</conditions>
<actions>
<action behavior="Platform" id="7" name="Simulate control" sid="543504111976093" type="Player">
<param id="0" name="Control">2</param>
</action>
</actions>
</event-block>
</events>
</c2eventsheet>
10 changes: 5 additions & 5 deletions Layouts/Layout 1.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
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.-->
<camera>
<position-x>305.829</position-x>
<position-y>307.401</position-y>
<position-z>111.678</position-z>
<lookat-x>305.829</lookat-x>
<lookat-y>307.401</lookat-y>
<position-x>339.399</position-x>
<position-y>375</position-y>
<position-z>135.13</position-z>
<lookat-x>339.399</lookat-x>
<lookat-y>375</lookat-y>
<lookat-z>0</lookat-z>
</camera>
<snap-to-grid>0</snap-to-grid>
Expand Down
10 changes: 5 additions & 5 deletions Layouts/Layout 1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -928,11 +928,11 @@
</instance>
<instance type="Versao" uid="103">
<properties>
<text>Text</text>
<text>Early Acess Version 4.5 @muriloestival</text>
<initial-visibility>Visible</initial-visibility>
<font>Arial,-16</font>
<font>Arial,-24,400,0</font>
<color>0,0,0</color>
<horizontal-alignment>Left</horizontal-alignment>
<horizontal-alignment>Center</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
Expand All @@ -947,8 +947,8 @@
<x>8</x>
<y>16</y>
<z>0</z>
<width>200</width>
<height>30</height>
<width>284</width>
<height>115</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
Expand Down
4 changes: 2 additions & 2 deletions Layouts/Layout 2.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
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.-->
<camera>
<position-x>1250</position-x>
<position-x>911.588</position-x>
<position-y>375</position-y>
<position-z>199.493</position-z>
<lookat-x>1250</lookat-x>
<lookat-x>911.588</lookat-x>
<lookat-y>375</lookat-y>
<lookat-z>0</lookat-z>
</camera>
Expand Down
30 changes: 30 additions & 0 deletions Layouts/Layout 2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,36 @@
<opacity>1</opacity>
</world>
</instance>
<instance type="Versao" uid="105">
<properties>
<text>Early Acess Version 4.5 @muriloestival</text>
<initial-visibility>Visible</initial-visibility>
<font>Arial,-24,400,0</font>
<color>0,0,0</color>
<horizontal-alignment>Center</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<line-height>0</line-height>
</properties>
<instance-variables>
<serverVersion></serverVersion>
</instance-variables>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>7</x>
<y>10</y>
<z>0</z>
<width>284</width>
<height>115</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
</instances>
<effects />
</layer>
Expand Down
4 changes: 2 additions & 2 deletions Layouts/Layout 3.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
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.-->
<camera>
<position-x>2000</position-x>
<position-x>847.982</position-x>
<position-y>375</position-y>
<position-z>214.359</position-z>
<lookat-x>2000</lookat-x>
<lookat-x>847.982</lookat-x>
<lookat-y>375</lookat-y>
<lookat-z>0</lookat-z>
</camera>
Expand Down
30 changes: 30 additions & 0 deletions Layouts/Layout 3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,36 @@
<opacity>1</opacity>
</world>
</instance>
<instance type="Versao" uid="106">
<properties>
<text>Early Acess Version 4.5 @muriloestival</text>
<initial-visibility>Visible</initial-visibility>
<font>Arial,-24,400,0</font>
<color>0,0,0</color>
<horizontal-alignment>Center</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<line-height>0</line-height>
</properties>
<instance-variables>
<serverVersion></serverVersion>
</instance-variables>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>16</x>
<y>18</y>
<z>0</z>
<width>284</width>
<height>115</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
</instances>
<effects />
</layer>
Expand Down
4 changes: 2 additions & 2 deletions Layouts/Layout 4.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
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.-->
<camera>
<position-x>7504.43</position-x>
<position-x>487.574</position-x>
<position-y>375</position-y>
<position-z>164.87</position-z>
<lookat-x>7504.43</lookat-x>
<lookat-x>487.574</lookat-x>
<lookat-y>375</lookat-y>
<lookat-z>0</lookat-z>
</camera>
Expand Down
30 changes: 30 additions & 0 deletions Layouts/Layout 4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,36 @@
<opacity>1</opacity>
</world>
</instance>
<instance type="Versao" uid="107">
<properties>
<text>Early Acess Version 4.5 @muriloestival</text>
<initial-visibility>Visible</initial-visibility>
<font>Arial,-24,400,0</font>
<color>0,0,0</color>
<horizontal-alignment>Center</horizontal-alignment>
<vertical-alignment>Top</vertical-alignment>
<hotspot>Top-left</hotspot>
<wrapping>Word</wrapping>
<line-height>0</line-height>
</properties>
<instance-variables>
<serverVersion></serverVersion>
</instance-variables>
<blend-mode>0</blend-mode>
<effect-fallback>0</effect-fallback>
<world>
<x>13</x>
<y>9</y>
<z>0</z>
<width>284</width>
<height>115</height>
<depth>0</depth>
<hotspotX>0</hotspotX>
<hotspotY>0</hotspotY>
<angle>0</angle>
<opacity>1</opacity>
</world>
</instance>
</instances>
<effects />
</layer>
Expand Down
9 changes: 9 additions & 0 deletions astronauta.caproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<plugin author="Scirra" id="Sprite" version="1">Sprite</plugin>
<plugin author="Scirra" id="Text" version="1">Text</plugin>
<plugin author="Scirra" id="Tilemap" version="1">Tilemap</plugin>
<plugin author="Scirra" id="gamepad" version="1">Gamepad</plugin>
</used-plugins>
<used-behaviors>
<behavior author="Scirra" id="Platform" version="1">Platform</behavior>
Expand Down Expand Up @@ -1022,6 +1023,9 @@
<object-type name="AJAX" sid="992667951069703">
<plugin id="AJAX" />
</object-type>
<object-type name="Controle" sid="418394600631715">
<plugin id="gamepad" />
</object-type>
</object-folder>
<families />
<layout-folder>
Expand Down Expand Up @@ -1051,6 +1055,11 @@
</properties>
</global-instance>
<global-instance type="AJAX" uid="104" />
<global-instance type="Controle" uid="108">
<properties>
<analog-deadzone>25</analog-deadzone>
</properties>
</global-instance>
</global-instances>
<sounds-folder />
<music-folder />
Expand Down
Binary file modified astronauta.capx.backup1
Binary file not shown.
4 changes: 2 additions & 2 deletions astronauta.uistate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ you probably do not want to add any .uistate.xml files to the repository.-->
<display name="HTML5" />
</configurations>
<open-tabs>
<layout order="0">Layout 1</layout>
<layout active="1" order="0">Layout 1</layout>
<layout order="1">Layout 2</layout>
<layout order="2">Layout 3</layout>
<layout order="4">Layout 4</layout>
<event-sheet active="1" order="3">Event sheet 1</event-sheet>
<event-sheet order="3">Event sheet 1</event-sheet>
<event-sheet order="5">Event sheet 2</event-sheet>
</open-tabs>
<properties>
Expand Down
Loading

0 comments on commit 8994967

Please sign in to comment.