mirror of
https://github.com/Steffo99/stack.git
synced 2024-11-25 17:24:21 +00:00
Nuovi totem di legno.
This commit is contained in:
parent
62fab95771
commit
4da39b90cf
9 changed files with 116 additions and 7 deletions
|
@ -58,6 +58,8 @@
|
||||||
<sprite>sprites\i_totemH</sprite>
|
<sprite>sprites\i_totemH</sprite>
|
||||||
<sprite>sprites\i_totemI</sprite>
|
<sprite>sprites\i_totemI</sprite>
|
||||||
<sprite>sprites\i_totemJ</sprite>
|
<sprite>sprites\i_totemJ</sprite>
|
||||||
|
<sprite>sprites\i_totemK</sprite>
|
||||||
|
<sprite>sprites\i_totemL</sprite>
|
||||||
</sprites>
|
</sprites>
|
||||||
<sprites name="Metal">
|
<sprites name="Metal">
|
||||||
<sprite>sprites\i_m_totemA</sprite>
|
<sprite>sprites\i_m_totemA</sprite>
|
||||||
|
@ -128,9 +130,8 @@
|
||||||
<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>
|
<object>objects\o_totem_K</object>
|
||||||
<objects name="Metal">
|
<object>objects\o_totem_L</object>
|
||||||
<object>objects\o_m_totemA</object>
|
|
||||||
</objects>
|
</objects>
|
||||||
</objects>
|
</objects>
|
||||||
<objects name="Scuola">
|
<objects name="Scuola">
|
||||||
|
|
28
objects/o_totem_K.object.gmx
Normal file
28
objects/o_totem_K.object.gmx
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<object>
|
||||||
|
<spriteName>i_totemK</spriteName>
|
||||||
|
<solid>-1</solid>
|
||||||
|
<visible>-1</visible>
|
||||||
|
<depth>0</depth>
|
||||||
|
<persistent>0</persistent>
|
||||||
|
<parentName>o_generale</parentName>
|
||||||
|
<maskName><undefined></maskName>
|
||||||
|
<events/>
|
||||||
|
<PhysicsObject>-1</PhysicsObject>
|
||||||
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||||
|
<PhysicsObjectShape>1</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>0,0</point>
|
||||||
|
<point>32,0</point>
|
||||||
|
<point>32,32</point>
|
||||||
|
<point>0,32</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
28
objects/o_totem_L.object.gmx
Normal file
28
objects/o_totem_L.object.gmx
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||||
|
<object>
|
||||||
|
<spriteName>i_totemL</spriteName>
|
||||||
|
<solid>-1</solid>
|
||||||
|
<visible>-1</visible>
|
||||||
|
<depth>0</depth>
|
||||||
|
<persistent>0</persistent>
|
||||||
|
<parentName>o_generale</parentName>
|
||||||
|
<maskName><undefined></maskName>
|
||||||
|
<events/>
|
||||||
|
<PhysicsObject>-1</PhysicsObject>
|
||||||
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||||
|
<PhysicsObjectShape>1</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>0,0</point>
|
||||||
|
<point>32,0</point>
|
||||||
|
<point>32,32</point>
|
||||||
|
<point>0,32</point>
|
||||||
|
</PhysicsShapePoints>
|
||||||
|
</object>
|
|
@ -16,7 +16,7 @@
|
||||||
<makerSettings>
|
<makerSettings>
|
||||||
<isSet>-1</isSet>
|
<isSet>-1</isSet>
|
||||||
<w>1091</w>
|
<w>1091</w>
|
||||||
<h>483</h>
|
<h>463</h>
|
||||||
<showGrid>0</showGrid>
|
<showGrid>0</showGrid>
|
||||||
<showObjects>-1</showObjects>
|
<showObjects>-1</showObjects>
|
||||||
<showTiles>-1</showTiles>
|
<showTiles>-1</showTiles>
|
||||||
|
@ -26,8 +26,8 @@
|
||||||
<deleteUnderlyingObj>0</deleteUnderlyingObj>
|
<deleteUnderlyingObj>0</deleteUnderlyingObj>
|
||||||
<deleteUnderlyingTiles>-1</deleteUnderlyingTiles>
|
<deleteUnderlyingTiles>-1</deleteUnderlyingTiles>
|
||||||
<page>0</page>
|
<page>0</page>
|
||||||
<xoffset>-151</xoffset>
|
<xoffset>164</xoffset>
|
||||||
<yoffset>4250</yoffset>
|
<yoffset>4418</yoffset>
|
||||||
</makerSettings>
|
</makerSettings>
|
||||||
<backgrounds>
|
<backgrounds>
|
||||||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
|
//Script di inizializzazione della modalità "Totem".
|
||||||
|
|
||||||
//Imposta il numero di totem impilati a 0.
|
//Imposta il numero di totem impilati a 0.
|
||||||
pile = 0;
|
pile = 0;
|
||||||
//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 = 9;
|
totalitems = 11;
|
||||||
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
|
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
|
||||||
totem_list[0] = o_totem_A;
|
totem_list[0] = o_totem_A;
|
||||||
totem_list[1] = o_totem_B;
|
totem_list[1] = o_totem_B;
|
||||||
|
@ -15,6 +17,8 @@ totem_list[6] = o_totem_G;
|
||||||
totem_list[7] = o_totem_H;
|
totem_list[7] = o_totem_H;
|
||||||
totem_list[8] = o_totem_I;
|
totem_list[8] = o_totem_I;
|
||||||
totem_list[9] = o_totem_J;
|
totem_list[9] = o_totem_J;
|
||||||
|
totem_list[10] = o_totem_K;
|
||||||
|
totem_list[11] = o_totem_L;
|
||||||
//Cambia il mouse.
|
//Cambia il mouse.
|
||||||
window_set_cursor(cr_cross);
|
window_set_cursor(cr_cross);
|
||||||
//Apri il file di salvataggio, carica il record e chiudi il file.
|
//Apri il file di salvataggio, carica il record e chiudi il file.
|
||||||
|
|
24
sprites/i_totemK.sprite.gmx
Normal file
24
sprites/i_totemK.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>16</xorig>
|
||||||
|
<yorigin>16</yorigin>
|
||||||
|
<colkind>1</colkind>
|
||||||
|
<coltolerance>0</coltolerance>
|
||||||
|
<sepmasks>0</sepmasks>
|
||||||
|
<bboxmode>0</bboxmode>
|
||||||
|
<bbox_left>0</bbox_left>
|
||||||
|
<bbox_right>31</bbox_right>
|
||||||
|
<bbox_top>0</bbox_top>
|
||||||
|
<bbox_bottom>31</bbox_bottom>
|
||||||
|
<HTile>0</HTile>
|
||||||
|
<VTile>0</VTile>
|
||||||
|
<TextureGroups>
|
||||||
|
<TextureGroup0>0</TextureGroup0>
|
||||||
|
</TextureGroups>
|
||||||
|
<For3D>0</For3D>
|
||||||
|
<width>32</width>
|
||||||
|
<height>32</height>
|
||||||
|
<frames>
|
||||||
|
<frame index="0">images\i_totemK_0.png</frame>
|
||||||
|
</frames>
|
||||||
|
</sprite>
|
24
sprites/i_totemL.sprite.gmx
Normal file
24
sprites/i_totemL.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>16</xorig>
|
||||||
|
<yorigin>16</yorigin>
|
||||||
|
<colkind>1</colkind>
|
||||||
|
<coltolerance>0</coltolerance>
|
||||||
|
<sepmasks>0</sepmasks>
|
||||||
|
<bboxmode>0</bboxmode>
|
||||||
|
<bbox_left>0</bbox_left>
|
||||||
|
<bbox_right>31</bbox_right>
|
||||||
|
<bbox_top>0</bbox_top>
|
||||||
|
<bbox_bottom>31</bbox_bottom>
|
||||||
|
<HTile>0</HTile>
|
||||||
|
<VTile>0</VTile>
|
||||||
|
<TextureGroups>
|
||||||
|
<TextureGroup0>0</TextureGroup0>
|
||||||
|
</TextureGroups>
|
||||||
|
<For3D>0</For3D>
|
||||||
|
<width>32</width>
|
||||||
|
<height>32</height>
|
||||||
|
<frames>
|
||||||
|
<frame index="0">images\i_totemL_0.png</frame>
|
||||||
|
</frames>
|
||||||
|
</sprite>
|
BIN
sprites/images/i_totemK_0.png
Normal file
BIN
sprites/images/i_totemK_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 147 B |
BIN
sprites/images/i_totemL_0.png
Normal file
BIN
sprites/images/i_totemL_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 B |
Loading…
Reference in a new issue