mirror of
https://github.com/Steffo99/stack.git
synced 2024-11-25 01:04:20 +00:00
Altra ottimizzazione; triangoli radio!
This commit is contained in:
parent
c33acf97be
commit
37cce7ad30
15 changed files with 168 additions and 29 deletions
|
@ -11,6 +11,7 @@
|
||||||
<sprite>sprites\octo</sprite>
|
<sprite>sprites\octo</sprite>
|
||||||
<sprite>sprites\radio</sprite>
|
<sprite>sprites\radio</sprite>
|
||||||
<sprite>sprites\radiocube</sprite>
|
<sprite>sprites\radiocube</sprite>
|
||||||
|
<sprite>sprites\radiotri</sprite>
|
||||||
<sprite>sprites\rbomb</sprite>
|
<sprite>sprites\rbomb</sprite>
|
||||||
<sprite>sprites\obomb</sprite>
|
<sprite>sprites\obomb</sprite>
|
||||||
<sprite>sprites\lball</sprite>
|
<sprite>sprites\lball</sprite>
|
||||||
|
@ -76,16 +77,13 @@
|
||||||
<objects name="Squadre">
|
<objects name="Squadre">
|
||||||
<object>objects\o_squadra_sin</object>
|
<object>objects\o_squadra_sin</object>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Gomme">
|
|
||||||
<object>objects\o_gomma_piccola</object>
|
|
||||||
<object>objects\o_gomma_grande</object>
|
|
||||||
</objects>
|
|
||||||
<objects name="Carta">
|
|
||||||
<object>objects\o_carta_palla</object>
|
|
||||||
</objects>
|
|
||||||
<objects name="Radio">
|
<objects name="Radio">
|
||||||
<object>objects\o_radio_palla</object>
|
<object>objects\o_radio_palla</object>
|
||||||
<object>objects\o_radio_cubo</object>
|
<object>objects\o_radio_cubo</object>
|
||||||
|
<object>objects\o_radio_triangolo</object>
|
||||||
|
</objects>
|
||||||
|
<objects name="Carta">
|
||||||
|
<object>objects\o_carta_palla</object>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Totem">
|
<objects name="Totem">
|
||||||
<object>objects\o_totem_A</object>
|
<object>objects\o_totem_A</object>
|
||||||
|
@ -98,10 +96,10 @@
|
||||||
<object>objects\o_totem_H</object>
|
<object>objects\o_totem_H</object>
|
||||||
<object>objects\o_totem_I</object>
|
<object>objects\o_totem_I</object>
|
||||||
<object>objects\o_totem_J</object>
|
<object>objects\o_totem_J</object>
|
||||||
</objects>
|
<objects name="Gomme">
|
||||||
<objects name="Esplosivo">
|
<object>objects\o_gomma_piccola</object>
|
||||||
<object>objects\o_bomba</object>
|
<object>objects\o_gomma_grande</object>
|
||||||
<object>objects\o_esplosivo</object>
|
</objects>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Scuola">
|
<objects name="Scuola">
|
||||||
<objects name="Libri">
|
<objects name="Libri">
|
||||||
|
@ -110,12 +108,16 @@
|
||||||
<object>objects\o_matita</object>
|
<object>objects\o_matita</object>
|
||||||
<object>objects\o_temperino</object>
|
<object>objects\o_temperino</object>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Paracadute">
|
<objects name="Esplosivo">
|
||||||
<object>objects\o_paracadute</object>
|
<object>objects\o_bomba</object>
|
||||||
|
<object>objects\o_esplosivo</object>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Metallo">
|
<objects name="Metallo">
|
||||||
<object>objects\o_moneta</object>
|
<object>objects\o_moneta</object>
|
||||||
</objects>
|
</objects>
|
||||||
|
<objects name="Paracadute">
|
||||||
|
<object>objects\o_paracadute</object>
|
||||||
|
</objects>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Pezzi">
|
<objects name="Pezzi">
|
||||||
<object>objects\wall</object>
|
<object>objects\wall</object>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<parentName><undefined></parentName>
|
<parentName><undefined></parentName>
|
||||||
<maskName><undefined></maskName>
|
<maskName><undefined></maskName>
|
||||||
<events>
|
<events>
|
||||||
<event eventtype="4" ename="stackdrop">
|
<event eventtype="4" ename="o_generale">
|
||||||
<action>
|
<action>
|
||||||
<libid>1</libid>
|
<libid>1</libid>
|
||||||
<id>224</id>
|
<id>224</id>
|
||||||
|
|
112
objects/o_radio_triangolo.object.gmx
Normal file
112
objects/o_radio_triangolo.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>radiotri</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>8,0</point>
|
||||||
|
<point>16,16</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
|
@ -25,7 +25,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>stackdrop</object>
|
<object>o_generale</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>dbomb</object>
|
<object>o_esplosivo</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>nbomb</object>
|
<object>o_bomba</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
|
|
@ -179,7 +179,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>stackdrop</object>
|
<object>o_generale</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
@ -313,7 +313,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>dbomb</object>
|
<object>o_esplosivo</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
@ -423,7 +423,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>nbomb</object>
|
<object>o_bomba</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
@ -519,7 +519,7 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>10</kind>
|
<kind>10</kind>
|
||||||
<object>stackdrop</object>
|
<object>o_generale</object>
|
||||||
</argument>
|
</argument>
|
||||||
<argument>
|
<argument>
|
||||||
<kind>0</kind>
|
<kind>0</kind>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//Seleziona il primo oggetto.
|
//Seleziona il primo oggetto.
|
||||||
selected = 0;
|
selected = 0;
|
||||||
//Definisci qual è il numero massimo, ad esempio se arriva a stack_names[9] scrivi 9.
|
//Definisci qual è il numero massimo, ad esempio se arriva a stack_names[9] scrivi 9.
|
||||||
totalitems = 20;
|
totalitems = 21;
|
||||||
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
|
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
|
||||||
stack_names[0] = o_squadra_sin;
|
stack_names[0] = o_squadra_sin;
|
||||||
stack_names[1] = o_gomma_piccola;
|
stack_names[1] = o_gomma_piccola;
|
||||||
|
@ -24,6 +24,7 @@ stack_names[17] = o_totem_H;
|
||||||
stack_names[18] = o_totem_I;
|
stack_names[18] = o_totem_I;
|
||||||
stack_names[19] = o_totem_J;
|
stack_names[19] = o_totem_J;
|
||||||
stack_names[20] = o_radio_cubo;
|
stack_names[20] = o_radio_cubo;
|
||||||
|
stack_names[21] = o_radio_triangolo;
|
||||||
//Disattiva il mouse normale visto che viene generato automaticamente.
|
//Disattiva il mouse normale visto che viene generato automaticamente.
|
||||||
window_set_cursor(cr_none);
|
window_set_cursor(cr_none);
|
||||||
//Apri il file di salvataggio, carica il record e chiudi il file.
|
//Apri il file di salvataggio, carica il record e chiudi il file.
|
||||||
|
|
BIN
sprites/images/radiotri_0.png
Normal file
BIN
sprites/images/radiotri_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 B |
24
sprites/radiotri.sprite.gmx
Normal file
24
sprites/radiotri.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\radiotri_0.png</frame>
|
||||||
|
</frames>
|
||||||
|
</sprite>
|
Loading…
Reference in a new issue