1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-22 07:54:20 +00:00
This commit is contained in:
Steffo 2013-07-03 20:24:34 +03:00
parent a291e0bc70
commit 151f951ec5
7 changed files with 185 additions and 3 deletions

View file

@ -10,6 +10,7 @@
<sprite>sprites\rtile</sprite>
<sprite>sprites\octo</sprite>
<sprite>sprites\radio</sprite>
<sprite>sprites\mousefollow</sprite>
<sprite>sprites\bigsphere</sprite>
<sprite>sprites\radiocube</sprite>
<sprite>sprites\radiotri</sprite>
@ -60,8 +61,8 @@
<paths name="paths"/>
<scripts name="scripts">
<script>scripts\saverecord.gml</script>
<script>scripts\saveX.gml</script>
<script>scripts\resetrecord.gml</script>
<script>scripts\saveX.gml</script>
<script>scripts\resetX.gml</script>
<script>scripts\loadX.gml</script>
<script>scripts\togglefullscreen.gml</script>
@ -70,6 +71,7 @@
<script>scripts\rollL.gml</script>
<script>scripts\rollR.gml</script>
<script>scripts\rocketup.gml</script>
<script>scripts\localrocket.gml</script>
</scripts>
<fonts name="fonts">
<font>fonts\points</font>
@ -85,6 +87,7 @@
</objects>
<objects name="Radio">
<object>objects\o_radio_palla</object>
<object>objects\o_radio_local</object>
<object>objects\o_radio_palla_grande</object>
<object>objects\o_radio_cubo</object>
<object>objects\o_radio_triangolo</object>

View file

@ -0,0 +1,153 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>mousefollow</spriteName>
<solid>-1</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>o_generale</parentName>
<maskName>&lt;undefined&gt;</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>
<event eventtype="9" enumb="79">
<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>localrocket</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>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.800000011920929</PhysicsObjectDensity>
<PhysicsObjectRestitution>0</PhysicsObjectRestitution>
<PhysicsObjectGroup>1</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>3</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>15</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints>
<point>8,8</point>
<point>8,8</point>
</PhysicsShapePoints>
</object>

View file

@ -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 = 25;
totalitems = 26;
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
stack_names[0] = o_squadra_sin;
stack_names[1] = o_gomma_piccola;
@ -29,6 +29,7 @@ stack_names[22] = o_radio_triangolo_2;
stack_names[23] = o_squadra_des;
stack_names[24] = o_wall_norm;
stack_names[25] = o_radio_palla_grande;
stack_names[26] = o_radio_local;
//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.

1
scripts/localrocket.gml Normal file
View file

@ -0,0 +1 @@
physics_apply_local_impulse(x, y, 0, -100);

View file

@ -1,5 +1,5 @@
//Attiva e disattiva lo schermo intero.
if window_get_fullscreen()
if window_get_fullscreen() = true
{
window_set_fullscreen(false);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

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>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\mousefollow_0.png</frame>
</frames>
</sprite>