1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-25 01:04:20 +00:00

Uh, roba.

This commit is contained in:
Steffo 2013-07-01 23:12:46 +03:00
parent b46311c693
commit 79bd51170b
8 changed files with 79 additions and 3 deletions

View file

@ -23,6 +23,7 @@
<sprite>sprites\matitasp</sprite> <sprite>sprites\matitasp</sprite>
<sprite>sprites\temper</sprite> <sprite>sprites\temper</sprite>
<sprite>sprites\rtri</sprite> <sprite>sprites\rtri</sprite>
<sprite>sprites\ltri</sprite>
<sprite>sprites\explosion</sprite> <sprite>sprites\explosion</sprite>
<sprite>sprites\coin</sprite> <sprite>sprites\coin</sprite>
<sprites name="Tiles"> <sprites name="Tiles">
@ -77,6 +78,7 @@
<object>objects\o_generale</object> <object>objects\o_generale</object>
<objects name="Squadre"> <objects name="Squadre">
<object>objects\o_squadra_sin</object> <object>objects\o_squadra_sin</object>
<object>objects\o_squadra_des</object>
</objects> </objects>
<objects name="Radio"> <objects name="Radio">
<object>objects\o_radio_palla</object> <object>objects\o_radio_palla</object>

View file

@ -100,7 +100,7 @@
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution> <PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>1</PhysicsObjectGroup> <PhysicsObjectGroup>1</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping> <PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>3</PhysicsObjectAngularDamping> <PhysicsObjectAngularDamping>15</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>15</PhysicsObjectFriction> <PhysicsObjectFriction>15</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake> <PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic> <PhysicsObjectKinematic>0</PhysicsObjectKinematic>

View file

@ -100,7 +100,7 @@
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution> <PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>1</PhysicsObjectGroup> <PhysicsObjectGroup>1</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping> <PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>3</PhysicsObjectAngularDamping> <PhysicsObjectAngularDamping>15</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>15</PhysicsObjectFriction> <PhysicsObjectFriction>15</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake> <PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic> <PhysicsObjectKinematic>0</PhysicsObjectKinematic>

View 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>ltri</spriteName>
<solid>-1</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>o_generale</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events/>
<PhysicsObject>-1</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>2</PhysicsObjectShape>
<PhysicsObjectDensity>0.300000011920929</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>48,48</point>
<point>0,48</point>
<point>48,0</point>
</PhysicsShapePoints>
</object>

View file

@ -916,6 +916,28 @@ instance_create(mouse_x,mouse_y,stack_names[selected]);
</arguments> </arguments>
</action> </action>
</event> </event>
<event eventtype="9" enumb="18">
<action>
<libid>1</libid>
<id>802</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_snapshot</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>2</kind>
<string>stack_record.bmp</string>
</argument>
</arguments>
</action>
</event>
</events> </events>
<PhysicsObject>0</PhysicsObject> <PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor> <PhysicsObjectSensor>0</PhysicsObjectSensor>

View file

@ -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 = 22; totalitems = 23;
//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;
@ -26,6 +26,7 @@ stack_names[19] = o_totem_J;
stack_names[20] = o_radio_cubo; stack_names[20] = o_radio_cubo;
stack_names[21] = o_radio_triangolo; stack_names[21] = o_radio_triangolo;
stack_names[22] = o_radio_triangolo_2; stack_names[22] = o_radio_triangolo_2;
stack_names[23] = o_squadra_des;
//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/ltri_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

24
sprites/ltri.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>24</xorig>
<yorigin>24</yorigin>
<colkind>1</colkind>
<coltolerance>0</coltolerance>
<sepmasks>0</sepmasks>
<bboxmode>0</bboxmode>
<bbox_left>0</bbox_left>
<bbox_right>47</bbox_right>
<bbox_top>0</bbox_top>
<bbox_bottom>47</bbox_bottom>
<HTile>0</HTile>
<VTile>0</VTile>
<TextureGroups>
<TextureGroup0>0</TextureGroup0>
</TextureGroups>
<For3D>0</For3D>
<width>48</width>
<height>48</height>
<frames>
<frame index="0">images\ltri_0.png</frame>
</frames>
</sprite>