mirror of
https://github.com/Steffo99/stack.git
synced 2024-11-25 09:14:19 +00:00
Iniziato qualcosa sulla modalità di sblocchi.
Blocchi da punteggio, salvataggio, ricarica e reset dei blocchi totali. Anche qualche tentativo di risolvere #1 e #2, ma niente da fare.
This commit is contained in:
parent
f32b891c8b
commit
0a3c67b377
14 changed files with 833 additions and 2 deletions
|
@ -213,7 +213,7 @@
|
||||||
<option_use_new_audio>true</option_use_new_audio>
|
<option_use_new_audio>true</option_use_new_audio>
|
||||||
<option_variableerrors>false</option_variableerrors>
|
<option_variableerrors>false</option_variableerrors>
|
||||||
<option_version>100</option_version>
|
<option_version>100</option_version>
|
||||||
<option_version_build>8</option_version_build>
|
<option_version_build>9</option_version_build>
|
||||||
<option_version_company></option_version_company>
|
<option_version_company></option_version_company>
|
||||||
<option_version_copyright></option_version_copyright>
|
<option_version_copyright></option_version_copyright>
|
||||||
<option_version_description></option_version_description>
|
<option_version_description></option_version_description>
|
||||||
|
|
|
@ -28,13 +28,17 @@
|
||||||
<sprite>sprites\X</sprite>
|
<sprite>sprites\X</sprite>
|
||||||
<sprite>sprites\cblock</sprite>
|
<sprite>sprites\cblock</sprite>
|
||||||
<sprite>sprites\V</sprite>
|
<sprite>sprites\V</sprite>
|
||||||
|
<sprite>sprites\locked</sprite>
|
||||||
</sprites>
|
</sprites>
|
||||||
<backgrounds name="background"/>
|
<backgrounds name="background"/>
|
||||||
<paths name="paths"/>
|
<paths name="paths"/>
|
||||||
<scripts name="scripts">
|
<scripts name="scripts">
|
||||||
<script>scripts\saverecord.gml</script>
|
<script>scripts\saverecord.gml</script>
|
||||||
|
<script>scripts\saveX.gml</script>
|
||||||
<script>scripts\resetrecord.gml</script>
|
<script>scripts\resetrecord.gml</script>
|
||||||
|
<script>scripts\resetX.gml</script>
|
||||||
<script>scripts\loadrecord.gml</script>
|
<script>scripts\loadrecord.gml</script>
|
||||||
|
<script>scripts\loadX.gml</script>
|
||||||
<script>scripts\togglefullscreen.gml</script>
|
<script>scripts\togglefullscreen.gml</script>
|
||||||
</scripts>
|
</scripts>
|
||||||
<fonts name="fonts">
|
<fonts name="fonts">
|
||||||
|
@ -63,6 +67,7 @@
|
||||||
<object>objects\walltopl</object>
|
<object>objects\walltopl</object>
|
||||||
<object>objects\walltopr</object>
|
<object>objects\walltopr</object>
|
||||||
<object>objects\wallsloper</object>
|
<object>objects\wallsloper</object>
|
||||||
|
<object>objects\blocklock</object>
|
||||||
<object>objects\toboom</object>
|
<object>objects\toboom</object>
|
||||||
<object>objects\box</object>
|
<object>objects\box</object>
|
||||||
<object>objects\text</object>
|
<object>objects\text</object>
|
||||||
|
|
307
objects/blocklock.object.gmx
Normal file
307
objects/blocklock.object.gmx
Normal file
|
@ -0,0 +1,307 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<object>
|
||||||
|
<spriteName>locked</spriteName>
|
||||||
|
<solid>-1</solid>
|
||||||
|
<visible>-1</visible>
|
||||||
|
<depth>0</depth>
|
||||||
|
<persistent>0</persistent>
|
||||||
|
<parentName><undefined></parentName>
|
||||||
|
<maskName><undefined></maskName>
|
||||||
|
<events>
|
||||||
|
<event eventtype="0" enumb="0">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>611</id>
|
||||||
|
<kind>6</kind>
|
||||||
|
<userelative>-1</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>1</kind>
|
||||||
|
<string>topass</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>12345</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
<event eventtype="3" enumb="1">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>612</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>-1</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_if_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>global.boxtotal</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>topass</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>4</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>203</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_kill_object</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
<event eventtype="8" enumb="0">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>612</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>-1</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_if_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>debug_mode</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>true</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>422</id>
|
||||||
|
<kind>1</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>603</id>
|
||||||
|
<kind>7</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>1</kind>
|
||||||
|
<string>draw_set_color(c_white);
|
||||||
|
physics_draw_debug();
|
||||||
|
</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>424</id>
|
||||||
|
<kind>2</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>421</id>
|
||||||
|
<kind>3</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>422</id>
|
||||||
|
<kind>1</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>500</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring>draw_self();</codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>424</id>
|
||||||
|
<kind>2</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>526</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_font</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>12</kind>
|
||||||
|
<font>points</font>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>1</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>524</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_color</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>13</kind>
|
||||||
|
<string>16777215</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>613</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>-1</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_draw_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>-1</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>topass-global.boxtotal</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>-12</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
</events>
|
||||||
|
<PhysicsObject>-1</PhysicsObject>
|
||||||
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||||
|
<PhysicsObjectShape>1</PhysicsObjectShape>
|
||||||
|
<PhysicsObjectDensity>0</PhysicsObjectDensity>
|
||||||
|
<PhysicsObjectRestitution>0</PhysicsObjectRestitution>
|
||||||
|
<PhysicsObjectGroup>1</PhysicsObjectGroup>
|
||||||
|
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
||||||
|
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
||||||
|
<PhysicsObjectFriction>0.5</PhysicsObjectFriction>
|
||||||
|
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
||||||
|
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
||||||
|
<PhysicsShapePoints>
|
||||||
|
<point>0,0</point>
|
||||||
|
<point>96,0</point>
|
||||||
|
<point>96,32</point>
|
||||||
|
<point>0,32</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
307
objects/boxtotal.object.gmx
Normal file
307
objects/boxtotal.object.gmx
Normal file
|
@ -0,0 +1,307 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<object>
|
||||||
|
<spriteName>locked</spriteName>
|
||||||
|
<solid>-1</solid>
|
||||||
|
<visible>-1</visible>
|
||||||
|
<depth>0</depth>
|
||||||
|
<persistent>0</persistent>
|
||||||
|
<parentName><undefined></parentName>
|
||||||
|
<maskName><undefined></maskName>
|
||||||
|
<events>
|
||||||
|
<event eventtype="0" enumb="0">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>611</id>
|
||||||
|
<kind>6</kind>
|
||||||
|
<userelative>-1</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>1</kind>
|
||||||
|
<string>topass</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>12345</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
<event eventtype="3" enumb="1">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>612</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>-1</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_if_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>global.boxtotal</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>topass</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>4</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>203</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_kill_object</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
<event eventtype="8" enumb="0">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>612</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>-1</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_if_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>debug_mode</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>true</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>422</id>
|
||||||
|
<kind>1</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>603</id>
|
||||||
|
<kind>7</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>1</kind>
|
||||||
|
<string>draw_set_color(c_white);
|
||||||
|
physics_draw_debug();
|
||||||
|
</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>424</id>
|
||||||
|
<kind>2</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>421</id>
|
||||||
|
<kind>3</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>422</id>
|
||||||
|
<kind>1</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>500</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring>draw_self();</codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>424</id>
|
||||||
|
<kind>2</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>0</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>526</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_font</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>12</kind>
|
||||||
|
<font>points</font>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>4</kind>
|
||||||
|
<string>1</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>524</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>0</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_color</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>13</kind>
|
||||||
|
<string>16777215</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>613</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>-1</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_draw_variable</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>-1</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>topass</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
|
</events>
|
||||||
|
<PhysicsObject>-1</PhysicsObject>
|
||||||
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||||
|
<PhysicsObjectShape>1</PhysicsObjectShape>
|
||||||
|
<PhysicsObjectDensity>0</PhysicsObjectDensity>
|
||||||
|
<PhysicsObjectRestitution>0</PhysicsObjectRestitution>
|
||||||
|
<PhysicsObjectGroup>1</PhysicsObjectGroup>
|
||||||
|
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
||||||
|
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
||||||
|
<PhysicsObjectFriction>0.5</PhysicsObjectFriction>
|
||||||
|
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
||||||
|
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
||||||
|
<PhysicsShapePoints>
|
||||||
|
<point>0,0</point>
|
||||||
|
<point>96,0</point>
|
||||||
|
<point>96,32</point>
|
||||||
|
<point>0,32</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="8" enumb="64">
|
<event eventtype="5" enumb="53">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>612</id>
|
<id>612</id>
|
||||||
|
|
|
@ -33,6 +33,46 @@
|
||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>601</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_execute_script</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>9</kind>
|
||||||
|
<script>loadX</script>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
</event>
|
</event>
|
||||||
<event eventtype="6" enumb="53">
|
<event eventtype="6" enumb="53">
|
||||||
<action>
|
<action>
|
||||||
|
@ -64,6 +104,48 @@
|
||||||
</arguments>
|
</arguments>
|
||||||
</action>
|
</action>
|
||||||
</event>
|
</event>
|
||||||
|
<event eventtype="9" enumb="123">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>601</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_execute_script</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>9</kind>
|
||||||
|
<script>resetX</script>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
</event>
|
||||||
<event eventtype="9" enumb="122">
|
<event eventtype="9" enumb="122">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
|
|
|
@ -655,6 +655,70 @@
|
||||||
</action>
|
</action>
|
||||||
</event>
|
</event>
|
||||||
<event eventtype="9" enumb="82">
|
<event eventtype="9" enumb="82">
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>611</id>
|
||||||
|
<kind>6</kind>
|
||||||
|
<userelative>-1</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>2</exetype>
|
||||||
|
<functionname></functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>-1</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>1</kind>
|
||||||
|
<string>global.boxtotal</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>blocksp</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<libid>1</libid>
|
||||||
|
<id>601</id>
|
||||||
|
<kind>0</kind>
|
||||||
|
<userelative>0</userelative>
|
||||||
|
<isquestion>0</isquestion>
|
||||||
|
<useapplyto>-1</useapplyto>
|
||||||
|
<exetype>1</exetype>
|
||||||
|
<functionname>action_execute_script</functionname>
|
||||||
|
<codestring></codestring>
|
||||||
|
<whoName>self</whoName>
|
||||||
|
<relative>0</relative>
|
||||||
|
<isnot>0</isnot>
|
||||||
|
<arguments>
|
||||||
|
<argument>
|
||||||
|
<kind>9</kind>
|
||||||
|
<script>saveX</script>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
<argument>
|
||||||
|
<kind>0</kind>
|
||||||
|
<string>0</string>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>223</id>
|
<id>223</id>
|
||||||
|
|
28
objects/walltest.object.gmx
Normal file
28
objects/walltest.object.gmx
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<object>
|
||||||
|
<spriteName>up</spriteName>
|
||||||
|
<solid>-1</solid>
|
||||||
|
<visible>-1</visible>
|
||||||
|
<depth>-100</depth>
|
||||||
|
<persistent>0</persistent>
|
||||||
|
<parentName><undefined></parentName>
|
||||||
|
<maskName><undefined></maskName>
|
||||||
|
<events/>
|
||||||
|
<PhysicsObject>0</PhysicsObject>
|
||||||
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||||
|
<PhysicsObjectShape>1</PhysicsObjectShape>
|
||||||
|
<PhysicsObjectDensity>0</PhysicsObjectDensity>
|
||||||
|
<PhysicsObjectRestitution>0</PhysicsObjectRestitution>
|
||||||
|
<PhysicsObjectGroup>1</PhysicsObjectGroup>
|
||||||
|
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
||||||
|
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
||||||
|
<PhysicsObjectFriction>0.5</PhysicsObjectFriction>
|
||||||
|
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
||||||
|
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
||||||
|
<PhysicsShapePoints>
|
||||||
|
<point>0,0</point>
|
||||||
|
<point>32,0</point>
|
||||||
|
<point>32,32</point>
|
||||||
|
<point>0,32</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
|
@ -176,6 +176,11 @@
|
||||||
<instance objName="wall" x="96" y="416" name="inst_42EA4635" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
<instance objName="wall" x="96" y="416" name="inst_42EA4635" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
<instance objName="wall" x="96" y="416" name="inst_EE8D7182" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
<instance objName="wall" x="96" y="416" name="inst_EE8D7182" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
<instance objName="wall" x="128" y="416" name="inst_D79A87A2" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
<instance objName="wall" x="128" y="416" name="inst_D79A87A2" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
|
<instance objName="blocklock" x="64" y="352" name="inst_B18C2A02" locked="0" code="topass = 25;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
|
<instance objName="blocklock" x="160" y="352" name="inst_D388CD50" locked="0" code="topass = 100;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
|
<instance objName="blocklock" x="256" y="352" name="inst_263D681B" locked="0" code="topass = 350;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
|
<instance objName="blocklock" x="448" y="352" name="inst_84F55DE0" locked="0" code="topass = 1000;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
|
<instance objName="blocklock" x="544" y="352" name="inst_BA12D340" locked="0" code="topass = 50;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||||
</instances>
|
</instances>
|
||||||
<tiles/>
|
<tiles/>
|
||||||
<PhysicsWorld>-1</PhysicsWorld>
|
<PhysicsWorld>-1</PhysicsWorld>
|
||||||
|
|
3
scripts/loadX.gml
Normal file
3
scripts/loadX.gml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ini_open("savefile.ini");
|
||||||
|
global.boxtotal = ini_read_real("Stack","totalboxes","0"); // Soldi
|
||||||
|
ini_close();
|
3
scripts/resetX.gml
Normal file
3
scripts/resetX.gml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ini_open("savefile.ini");
|
||||||
|
ini_write_real("Stack","totalboxes",0); // Record
|
||||||
|
ini_close();
|
3
scripts/saveX.gml
Normal file
3
scripts/saveX.gml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ini_open("savefile.ini");
|
||||||
|
ini_write_real("Stack","totalboxes",global.boxtotal); // Record
|
||||||
|
ini_close();
|
BIN
sprites/images/locked_0.png
Normal file
BIN
sprites/images/locked_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 152 B |
24
sprites/locked.sprite.gmx
Normal file
24
sprites/locked.sprite.gmx
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<sprite>
|
||||||
|
<xorig>48</xorig>
|
||||||
|
<yorigin>16</yorigin>
|
||||||
|
<colkind>1</colkind>
|
||||||
|
<coltolerance>0</coltolerance>
|
||||||
|
<sepmasks>0</sepmasks>
|
||||||
|
<bboxmode>0</bboxmode>
|
||||||
|
<bbox_left>0</bbox_left>
|
||||||
|
<bbox_right>95</bbox_right>
|
||||||
|
<bbox_top>0</bbox_top>
|
||||||
|
<bbox_bottom>31</bbox_bottom>
|
||||||
|
<HTile>0</HTile>
|
||||||
|
<VTile>0</VTile>
|
||||||
|
<TextureGroups>
|
||||||
|
<TextureGroup0>0</TextureGroup0>
|
||||||
|
</TextureGroups>
|
||||||
|
<For3D>0</For3D>
|
||||||
|
<width>96</width>
|
||||||
|
<height>32</height>
|
||||||
|
<frames>
|
||||||
|
<frame index="0">images\locked_0.png</frame>
|
||||||
|
</frames>
|
||||||
|
</sprite>
|
Loading…
Reference in a new issue