mirror of
https://github.com/Steffo99/stack.git
synced 2025-02-16 14:33:59 +00:00
Nuova forma; ottimizzazione
This commit is contained in:
parent
9c34aa264e
commit
1dc340b015
6 changed files with 56 additions and 163 deletions
|
@ -23,6 +23,7 @@
|
|||
<sprite>sprites\ytopr</sprite>
|
||||
<sprite>sprites\yslabr</sprite>
|
||||
<sprite>sprites\rtile</sprite>
|
||||
<sprite>sprites\rtri</sprite>
|
||||
<sprite>sprites\bigbox</sprite>
|
||||
<sprite>sprites\rbomb</sprite>
|
||||
<sprite>sprites\obomb</sprite>
|
||||
|
@ -77,6 +78,7 @@
|
|||
<object>objects\wallsloper</object>
|
||||
<object>objects\blocklock</object>
|
||||
<object>objects\toboom</object>
|
||||
<object>objects\triangle</object>
|
||||
<object>objects\box</object>
|
||||
<object>objects\text</object>
|
||||
<object>objects\btotal</object>
|
||||
|
|
|
@ -5,169 +5,9 @@
|
|||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<parentName>toboom</parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<events>
|
||||
<event eventtype="4" ename="magnet">
|
||||
<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>physics_apply_local_force(0, 0, 0, -1500)
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="4" ename="boom">
|
||||
<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="7" 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>-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>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_yellow);
|
||||
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>
|
||||
<events/>
|
||||
<PhysicsObject>-1</PhysicsObject>
|
||||
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||
<PhysicsObjectShape>1</PhysicsObjectShape>
|
||||
|
|
|
@ -321,7 +321,7 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>10</kind>
|
||||
<object>toboom</object>
|
||||
<object>triangle</object>
|
||||
</argument>
|
||||
<argument>
|
||||
<kind>0</kind>
|
||||
|
|
27
objects/triangle.object.gmx
Normal file
27
objects/triangle.object.gmx
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName>rtri</spriteName>
|
||||
<solid>-1</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName>toboom</parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<events/>
|
||||
<PhysicsObject>-1</PhysicsObject>
|
||||
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||
<PhysicsObjectShape>2</PhysicsObjectShape>
|
||||
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
|
||||
<PhysicsObjectRestitution>0</PhysicsObjectRestitution>
|
||||
<PhysicsObjectGroup>1</PhysicsObjectGroup>
|
||||
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
||||
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
||||
<PhysicsObjectFriction>10</PhysicsObjectFriction>
|
||||
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
||||
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
||||
<PhysicsShapePoints>
|
||||
<point>16,16</point>
|
||||
<point>0,16</point>
|
||||
<point>0,0</point>
|
||||
</PhysicsShapePoints>
|
||||
</object>
|
BIN
sprites/images/rtri_0.png
Normal file
BIN
sprites/images/rtri_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 119 B |
24
sprites/rtri.sprite.gmx
Normal file
24
sprites/rtri.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>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\rtri_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
Loading…
Add table
Reference in a new issue