1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-22 16:04:19 +00:00

Altre modifiche a totem.

This commit is contained in:
Steffo 2013-07-04 20:13:01 +03:00
parent 19cabe5d1b
commit 6d4404c14d
4 changed files with 43 additions and 187 deletions

View file

@ -69,6 +69,7 @@
<script>scripts\m_stack_init.gml</script> <script>scripts\m_stack_init.gml</script>
<script>scripts\m_totem_init.gml</script> <script>scripts\m_totem_init.gml</script>
<script>scripts\scrcursor.gml</script> <script>scripts\scrcursor.gml</script>
<script>scripts\totemcursor.gml</script>
<script>scripts\rollL.gml</script> <script>scripts\rollL.gml</script>
<script>scripts\rollR.gml</script> <script>scripts\rollR.gml</script>
<script>scripts\rocketup.gml</script> <script>scripts\rocketup.gml</script>

View file

@ -8,179 +8,7 @@
<parentName>&lt;undefined&gt;</parentName> <parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName> <maskName>&lt;undefined&gt;</maskName>
<events> <events>
<event eventtype="5" enumb="53">
<action>
<libid>1</libid>
<id>612</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>-1</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_if_variable</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>debug_mode</string>
</argument>
<argument>
<kind>0</kind>
<string>true</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>422</id>
<kind>1</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
<action>
<libid>1</libid>
<id>524</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_color</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>13</kind>
<string>16777215</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>526</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_font</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>12</kind>
<font>devbeaten</font>
</argument>
<argument>
<kind>4</kind>
<string>1</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>613</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_draw_variable</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>room</string>
</argument>
<argument>
<kind>0</kind>
<string>320</string>
</argument>
<argument>
<kind>0</kind>
<string>240</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>424</id>
<kind>2</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
</event>
<event eventtype="9" enumb="116"> <event eventtype="9" enumb="116">
<action>
<libid>1</libid>
<id>612</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>-1</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_if_variable</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>debug_mode</string>
</argument>
<argument>
<kind>0</kind>
<string>true</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>422</id>
<kind>1</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
<action> <action>
<libid>1</libid> <libid>1</libid>
<id>603</id> <id>603</id>
@ -202,20 +30,6 @@
</argument> </argument>
</arguments> </arguments>
</action> </action>
<action>
<libid>1</libid>
<id>424</id>
<kind>2</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
</event> </event>
</events> </events>
<PhysicsObject>0</PhysicsObject> <PhysicsObject>0</PhysicsObject>

View file

@ -219,7 +219,7 @@ selected = irandom(totalitems);
<arguments> <arguments>
<argument> <argument>
<kind>1</kind> <kind>1</kind>
<string>draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, 8, 8, 0.5, 0.5, 0, c_white, 1); <string>draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, 16, 16, 0.5, 0.5, 0, c_white, 1);
</string> </string>
</argument> </argument>
</arguments> </arguments>
@ -252,6 +252,46 @@ selected = irandom(totalitems);
</argument> </argument>
</arguments> </arguments>
</action> </action>
<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>totemcursor</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>
<event eventtype="9" enumb="122"> <event eventtype="9" enumb="122">
<action> <action>

1
scripts/totemcursor.gml Normal file
View file

@ -0,0 +1 @@
draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, mouse_x, mouse_y, 1, 1, 0, c_white, 0.4);