add broken ships
This commit is contained in:
parent
a9faaf94e6
commit
63ada3dd33
16 changed files with 330 additions and 16 deletions
|
@ -96,7 +96,7 @@ if(speed > 0)
|
|||
speed -= 1
|
||||
}
|
||||
|
||||
if(energy >= 10 && is_moving && keyboard_check(vk_shift))
|
||||
if((energy >= 10 && is_moving && keyboard_check(vk_shift)) || (energy >= 10 && is_moving && gamepad_button_check(0,gp_face3)))
|
||||
{
|
||||
if(speed > 30)
|
||||
{
|
||||
|
@ -258,6 +258,40 @@ if((mouse_check_button_pressed(mb_left) && os_type != os_psvita) || game
|
|||
|
||||
}
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="4" ename="obj_broken_ship">
|
||||
<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>damage_player(5);
|
||||
|
||||
instance_create(other.x,other.y,obj_boom_fx);
|
||||
other.direction = direction;
|
||||
other.image_angle = image_angle;
|
||||
other.speed = 20;
|
||||
|
||||
speed = -20;
|
||||
|
||||
|
||||
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
|
Reference in a new issue