CommitLog |
This commit is contained in:
parent
55e56f1c2e
commit
3e8a20bf53
4 changed files with 40 additions and 30 deletions
|
@ -8,6 +8,37 @@
|
|||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<events>
|
||||
<event eventtype="3" enumb="0">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
<kind>7</kind>
|
||||
<userelative>0</userelative>
|
||||
<isquestion>0</isquestion>
|
||||
<useapplyto>-1</useapplyto>
|
||||
<exetype>2</exetype>
|
||||
<functionname></functionname>
|
||||
<codestring></codestring>
|
||||
<whoName>self</whoName>
|
||||
<relative>0</relative>
|
||||
<isnot>0</isnot>
|
||||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>direction = image_angle
|
||||
if(speed > 0)
|
||||
speed -= 1
|
||||
|
||||
if(speed > 20)
|
||||
speed = 20;
|
||||
|
||||
view_xview[0] = x - view_wview[0]/2;
|
||||
view_yview[0] = y - view_hview[0]/2;
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="5" enumb="87">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
|
@ -25,7 +56,8 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>motion_set(image_angle,3);
|
||||
<string>direction = image_angle
|
||||
speed += 5
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -77,28 +109,6 @@
|
|||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="7" enumb="0">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>112</id>
|
||||
<kind>0</kind>
|
||||
<userelative>0</userelative>
|
||||
<isquestion>0</isquestion>
|
||||
<useapplyto>-1</useapplyto>
|
||||
<exetype>1</exetype>
|
||||
<functionname>action_wrap</functionname>
|
||||
<codestring></codestring>
|
||||
<whoName>self</whoName>
|
||||
<relative>0</relative>
|
||||
<isnot>0</isnot>
|
||||
<arguments>
|
||||
<argument>
|
||||
<kind>4</kind>
|
||||
<string>2</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
</events>
|
||||
<PhysicsObject>0</PhysicsObject>
|
||||
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
||||
|
|
Reference in a new issue