1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-21 23:44:20 +00:00

Aggiunte le monete con R.

This commit is contained in:
Steffo 2013-06-25 21:29:47 +03:00
parent 0f020702e9
commit 9c34aa264e
9 changed files with 369 additions and 66 deletions

View file

@ -33,6 +33,7 @@
<sprite>sprites\cblock</sprite>
<sprite>sprites\V</sprite>
<sprite>sprites\locked</sprite>
<sprite>sprites\coin</sprite>
</sprites>
<backgrounds name="background"/>
<paths name="paths"/>
@ -53,6 +54,7 @@
<object>objects\nbomb</object>
<object>objects\dbomb</object>
<object>objects\menuball</object>
<object>objects\money</object>
<object>objects\boom</object>
<object>objects\menus</object>
<object>objects\placer</object>

View file

@ -3,7 +3,7 @@
<spriteName>locked</spriteName>
<solid>-1</solid>
<visible>-1</visible>
<depth>0</depth>
<depth>-1</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>

View file

@ -53,6 +53,38 @@
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>501</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_draw_sprite</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>5</kind>
<sprite>coin</sprite>
</argument>
<argument>
<kind>0</kind>
<string>-20</string>
</argument>
<argument>
<kind>0</kind>
<string>11</string>
</argument>
<argument>
<kind>0</kind>
<string>-1</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>613</id>

165
objects/money.object.gmx Normal file
View file

@ -0,0 +1,165 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>coin</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-3</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>532</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_effect</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>4</kind>
<string>7</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>4</kind>
<string>1</string>
</argument>
<argument>
<kind>13</kind>
<string>33023</string>
</argument>
<argument>
<kind>4</kind>
<string>1</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="7" enumb="0">
<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>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_orange);
physics_draw_debug();
</string>
</argument>
</arguments>
</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>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>
</event>
</events>
<PhysicsObject>-1</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>3</PhysicsObjectRestitution>
<PhysicsObjectGroup>2</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.100000001490116</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints>
<point>8,8</point>
<point>8,0</point>
</PhysicsShapePoints>
</object>

View file

@ -98,6 +98,48 @@
</arguments>
</action>
</event>
<event eventtype="2" enumb="0">
<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>
</event>
<event eventtype="3" enumb="2">
<action>
<libid>1</libid>
@ -801,82 +843,28 @@
<event eventtype="9" enumb="82">
<action>
<libid>1</libid>
<id>611</id>
<kind>6</kind>
<id>301</id>
<kind>0</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>
<functionname>action_set_alarm</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>9</kind>
<script>saveX</script>
<kind>0</kind>
<string>1</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>
<argument>
<kind>0</kind>
<kind>4</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>223</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_current_room</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
</event>
<event eventtype="9" enumb="77">
<action>

View file

@ -167,6 +167,98 @@ physics_draw_debug();
<isnot>0</isnot>
</action>
</event>
<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>+1</string>
</argument>
</arguments>
</action>
<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>stack.blocksp</string>
</argument>
<argument>
<kind>0</kind>
<string>-1</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>201</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_create_object</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>10</kind>
<object>money</object>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</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>
</events>
<PhysicsObject>-1</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>

View file

@ -176,11 +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_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="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"/>
<instance objName="blocklock" x="64" y="384" name="inst_B18C2A02" locked="0" code="topass = 25;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="blocklock" x="160" y="384" name="inst_D388CD50" locked="0" code="topass = 100;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="blocklock" x="256" y="384" name="inst_263D681B" locked="0" code="topass = 350;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="blocklock" x="448" y="384" name="inst_84F55DE0" locked="0" code="topass = 1000;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="blocklock" x="544" y="384" name="inst_BA12D340" locked="0" code="topass = 50;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>-1</PhysicsWorld>

24
sprites/coin.sprite.gmx Normal file
View 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>8</xorig>
<yorigin>8</yorigin>
<colkind>1</colkind>
<coltolerance>0</coltolerance>
<sepmasks>0</sepmasks>
<bboxmode>0</bboxmode>
<bbox_left>0</bbox_left>
<bbox_right>15</bbox_right>
<bbox_top>0</bbox_top>
<bbox_bottom>15</bbox_bottom>
<HTile>0</HTile>
<VTile>0</VTile>
<TextureGroups>
<TextureGroup0>0</TextureGroup0>
</TextureGroups>
<For3D>0</For3D>
<width>16</width>
<height>16</height>
<frames>
<frame index="0">images\coin_0.png</frame>
</frames>
</sprite>

BIN
sprites/images/coin_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B