1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-21 23:44:20 +00:00

Nuovi totem di legno.

This commit is contained in:
Steffo 2013-07-12 22:24:49 +03:00
parent 62fab95771
commit 4da39b90cf
9 changed files with 116 additions and 7 deletions

View file

@ -58,6 +58,8 @@
<sprite>sprites\i_totemH</sprite>
<sprite>sprites\i_totemI</sprite>
<sprite>sprites\i_totemJ</sprite>
<sprite>sprites\i_totemK</sprite>
<sprite>sprites\i_totemL</sprite>
</sprites>
<sprites name="Metal">
<sprite>sprites\i_m_totemA</sprite>
@ -128,9 +130,8 @@
<object>objects\o_totem_H</object>
<object>objects\o_totem_I</object>
<object>objects\o_totem_J</object>
</objects>
<objects name="Metal">
<object>objects\o_m_totemA</object>
<object>objects\o_totem_K</object>
<object>objects\o_totem_L</object>
</objects>
</objects>
<objects name="Scuola">

View 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>&lt;undefined&gt;</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>

View 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>&lt;undefined&gt;</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>

View file

@ -16,7 +16,7 @@
<makerSettings>
<isSet>-1</isSet>
<w>1091</w>
<h>483</h>
<h>463</h>
<showGrid>0</showGrid>
<showObjects>-1</showObjects>
<showTiles>-1</showTiles>
@ -26,8 +26,8 @@
<deleteUnderlyingObj>0</deleteUnderlyingObj>
<deleteUnderlyingTiles>-1</deleteUnderlyingTiles>
<page>0</page>
<xoffset>-151</xoffset>
<yoffset>4250</yoffset>
<xoffset>164</xoffset>
<yoffset>4418</yoffset>
</makerSettings>
<backgrounds>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>

View file

@ -1,9 +1,11 @@
//Script di inizializzazione della modalità "Totem".
//Imposta il numero di totem impilati a 0.
pile = 0;
//Seleziona il primo oggetto.
selected = 0;
//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.
totem_list[0] = o_totem_A;
totem_list[1] = o_totem_B;
@ -15,6 +17,8 @@ totem_list[6] = o_totem_G;
totem_list[7] = o_totem_H;
totem_list[8] = o_totem_I;
totem_list[9] = o_totem_J;
totem_list[10] = o_totem_K;
totem_list[11] = o_totem_L;
//Cambia il mouse.
window_set_cursor(cr_cross);
//Apri il file di salvataggio, carica il record e chiudi il 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>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>

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>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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B