mirror of
https://github.com/Steffo99/stack.git
synced 2024-11-21 23:44:20 +00:00
Bugfix, triangolo radio nuovo!
This commit is contained in:
parent
37cce7ad30
commit
b46311c693
6 changed files with 140 additions and 25 deletions
|
@ -12,6 +12,7 @@
|
|||
<sprite>sprites\radio</sprite>
|
||||
<sprite>sprites\radiocube</sprite>
|
||||
<sprite>sprites\radiotri</sprite>
|
||||
<sprite>sprites\radiotriq</sprite>
|
||||
<sprite>sprites\rbomb</sprite>
|
||||
<sprite>sprites\obomb</sprite>
|
||||
<sprite>sprites\lball</sprite>
|
||||
|
@ -81,6 +82,7 @@
|
|||
<object>objects\o_radio_palla</object>
|
||||
<object>objects\o_radio_cubo</object>
|
||||
<object>objects\o_radio_triangolo</object>
|
||||
<object>objects\o_radio_triangolo_2</object>
|
||||
</objects>
|
||||
<objects name="Carta">
|
||||
<object>objects\o_carta_palla</object>
|
||||
|
|
|
@ -194,30 +194,6 @@ physics_draw_debug();
|
|||
</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>
|
||||
|
|
112
objects/o_radio_triangolo_2.object.gmx
Normal file
112
objects/o_radio_triangolo_2.object.gmx
Normal file
|
@ -0,0 +1,112 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName>radiotriq</spriteName>
|
||||
<solid>-1</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName>o_generale</parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<events>
|
||||
<event eventtype="5" enumb="76">
|
||||
<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>rollR</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="5" enumb="75">
|
||||
<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>rollL</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>
|
||||
</events>
|
||||
<PhysicsObject>-1</PhysicsObject>
|
||||
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||
<PhysicsObjectShape>2</PhysicsObjectShape>
|
||||
<PhysicsObjectDensity>0.800000011920929</PhysicsObjectDensity>
|
||||
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
|
||||
<PhysicsObjectGroup>1</PhysicsObjectGroup>
|
||||
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
||||
<PhysicsObjectAngularDamping>3</PhysicsObjectAngularDamping>
|
||||
<PhysicsObjectFriction>15</PhysicsObjectFriction>
|
||||
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
||||
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
||||
<PhysicsShapePoints>
|
||||
<point>0,16</point>
|
||||
<point>0,0</point>
|
||||
<point>16,16</point>
|
||||
</PhysicsShapePoints>
|
||||
</object>
|
|
@ -1,7 +1,7 @@
|
|||
//Seleziona il primo oggetto.
|
||||
selected = 0;
|
||||
//Definisci qual è il numero massimo, ad esempio se arriva a stack_names[9] scrivi 9.
|
||||
totalitems = 21;
|
||||
totalitems = 22;
|
||||
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
|
||||
stack_names[0] = o_squadra_sin;
|
||||
stack_names[1] = o_gomma_piccola;
|
||||
|
@ -25,6 +25,7 @@ stack_names[18] = o_totem_I;
|
|||
stack_names[19] = o_totem_J;
|
||||
stack_names[20] = o_radio_cubo;
|
||||
stack_names[21] = o_radio_triangolo;
|
||||
stack_names[22] = o_radio_triangolo_2;
|
||||
//Disattiva il mouse normale visto che viene generato automaticamente.
|
||||
window_set_cursor(cr_none);
|
||||
//Apri il file di salvataggio, carica il record e chiudi il file.
|
||||
|
|
BIN
sprites/images/radiotriq_0.png
Normal file
BIN
sprites/images/radiotriq_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 131 B |
24
sprites/radiotriq.sprite.gmx
Normal file
24
sprites/radiotriq.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\radiotriq_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
Loading…
Reference in a new issue