mirror of
https://github.com/Steffo99/stack.git
synced 2024-11-22 07:54:20 +00:00
Altre modifiche a totem.
This commit is contained in:
parent
19cabe5d1b
commit
6d4404c14d
4 changed files with 43 additions and 187 deletions
|
@ -69,6 +69,7 @@
|
|||
<script>scripts\m_stack_init.gml</script>
|
||||
<script>scripts\m_totem_init.gml</script>
|
||||
<script>scripts\scrcursor.gml</script>
|
||||
<script>scripts\totemcursor.gml</script>
|
||||
<script>scripts\rollL.gml</script>
|
||||
<script>scripts\rollR.gml</script>
|
||||
<script>scripts\rocketup.gml</script>
|
||||
|
|
|
@ -8,179 +8,7 @@
|
|||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<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">
|
||||
<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>603</id>
|
||||
|
@ -202,20 +30,6 @@
|
|||
</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>
|
||||
</events>
|
||||
<PhysicsObject>0</PhysicsObject>
|
||||
|
|
|
@ -219,7 +219,7 @@ selected = irandom(totalitems);
|
|||
<arguments>
|
||||
<argument>
|
||||
<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>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -252,6 +252,46 @@ selected = irandom(totalitems);
|
|||
</argument>
|
||||
</arguments>
|
||||
</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 eventtype="9" enumb="122">
|
||||
<action>
|
||||
|
|
1
scripts/totemcursor.gml
Normal file
1
scripts/totemcursor.gml
Normal 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);
|
Loading…
Reference in a new issue