1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-25 17:24:21 +00:00

Aggiunto il contatore degli X nel M. P.

This commit is contained in:
Steffo 2013-06-22 19:55:19 +02:00
parent 6f94d69e3f
commit b082b39af3
4 changed files with 117 additions and 226 deletions

View file

@ -73,6 +73,7 @@
<object>objects\toboom</object> <object>objects\toboom</object>
<object>objects\box</object> <object>objects\box</object>
<object>objects\text</object> <object>objects\text</object>
<object>objects\btotal</object>
<object>objects\lift</object> <object>objects\lift</object>
<object>objects\debugobj</object> <object>objects\debugobj</object>
</objects> </objects>

View file

@ -1,218 +1,34 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!--> <!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object> <object>
<spriteName>locked</spriteName> <spriteName>&lt;undefined&gt;</spriteName>
<solid>-1</solid> <solid>0</solid>
<visible>-1</visible> <visible>-1</visible>
<depth>0</depth> <depth>5</depth>
<persistent>0</persistent> <persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName> <parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName> <maskName>&lt;undefined&gt;</maskName>
<events> <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"> <event eventtype="8" enumb="0">
<action> <action>
<libid>1</libid> <libid>1</libid>
<id>612</id> <id>524</id>
<kind>0</kind> <kind>0</kind>
<userelative>0</userelative> <userelative>0</userelative>
<isquestion>-1</isquestion> <isquestion>0</isquestion>
<useapplyto>-1</useapplyto> <useapplyto>0</useapplyto>
<exetype>1</exetype> <exetype>1</exetype>
<functionname>action_if_variable</functionname> <functionname>action_color</functionname>
<codestring></codestring> <codestring></codestring>
<whoName>self</whoName> <whoName>self</whoName>
<relative>0</relative> <relative>0</relative>
<isnot>0</isnot> <isnot>0</isnot>
<arguments> <arguments>
<argument> <argument>
<kind>0</kind> <kind>13</kind>
<string>debug_mode</string> <string>12615680</string>
</argument>
<argument>
<kind>0</kind>
<string>true</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument> </argument>
</arguments> </arguments>
</action> </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> <action>
<libid>1</libid> <libid>1</libid>
<id>526</id> <id>526</id>
@ -237,26 +53,6 @@ physics_draw_debug();
</argument> </argument>
</arguments> </arguments>
</action> </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> <action>
<libid>1</libid> <libid>1</libid>
<id>613</id> <id>613</id>
@ -273,7 +69,7 @@ physics_draw_debug();
<arguments> <arguments>
<argument> <argument>
<kind>0</kind> <kind>0</kind>
<string>topass</string> <string>global.boxtotal</string>
</argument> </argument>
<argument> <argument>
<kind>0</kind> <kind>0</kind>
@ -287,21 +83,16 @@ physics_draw_debug();
</action> </action>
</event> </event>
</events> </events>
<PhysicsObject>-1</PhysicsObject> <PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor> <PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>1</PhysicsObjectShape> <PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0</PhysicsObjectDensity> <PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0</PhysicsObjectRestitution> <PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>1</PhysicsObjectGroup> <PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping> <PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping> <PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.5</PhysicsObjectFriction> <PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake> <PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic> <PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints> <PhysicsShapePoints/>
<point>0,0</point>
<point>96,0</point>
<point>96,32</point>
<point>0,32</point>
</PhysicsShapePoints>
</object> </object>

98
objects/btotal.object.gmx Normal file
View file

@ -0,0 +1,98 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>5</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="8" enumb="0">
<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>12615680</string>
</argument>
</arguments>
</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>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>global.boxtotal</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>

View file

@ -52,6 +52,7 @@
<instances> <instances>
<instance objName="text" x="64" y="352" name="inst_69F25A4C" locked="0" code="display = &quot;Stack&quot;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="text" x="64" y="352" name="inst_69F25A4C" locked="0" code="display = &quot;Stack&quot;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="text" x="560" y="352" name="inst_12FD098C" locked="0" code="display = &quot;Strategy&quot;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="text" x="560" y="352" name="inst_12FD098C" locked="0" code="display = &quot;Strategy&quot;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="btotal" x="64" y="384" name="inst_69A7F534" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="wall" x="640" y="480" name="inst_FFE0D61D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="wall" x="640" y="480" name="inst_FFE0D61D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="wall" x="608" y="480" name="inst_6E29682F" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="wall" x="608" y="480" name="inst_6E29682F" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="wall" x="512" y="480" name="inst_4DE63F2A" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="wall" x="512" y="480" name="inst_4DE63F2A" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>