CommitLog |

This commit is contained in:
JoshuanBurger12 2020-09-10 11:52:49 +12:00
parent b56635f6b1
commit b9c965c6ae
5 changed files with 62 additions and 60 deletions

View File

@ -72,12 +72,13 @@
<room>rooms\rm_title</room>
<room>rooms\rm_game</room>
</rooms>
<constants number="5">
<constants number="6">
<constant name="TILE_SIZE">32</constant>
<constant name="CHUNK_SIZE">16</constant>
<constant name="AIR">0</constant>
<constant name="STONE">1</constant>
<constant name="METAL">2</constant>
<constant name="CHEESE">3</constant>
</constants>
<help>
<rtf>help.rtf</rtf>

View File

@ -57,31 +57,6 @@ if(step_counter == 60*room_speed || instance_position(x,y,obj_chunk) == noone)
{
instance_destroy(self);
}
</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>instance_destroy(other);
instance_create(other.x,other.y,obj_boom_fx)
instance_destroy(id);
</string>
</argument>
</arguments>
@ -128,6 +103,31 @@ instance_destroy(id);
<isnot>0</isnot>
</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>instance_destroy(other);
instance_create(other.x,other.y,obj_boom_fx)
instance_destroy(id);
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="4" ename="obj_asteriod">
<action>
<libid>1</libid>

View File

@ -258,40 +258,6 @@ if((mouse_check_button_pressed(mb_left) &amp;&amp; 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>
@ -370,6 +336,40 @@ if(didAdd)
<argument>
<kind>1</kind>
<string>damage_player(hp_max);
</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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -23,5 +23,6 @@
<frame index="0">images\spr_blocks_0.png</frame>
<frame index="1">images\spr_blocks_1.png</frame>
<frame index="2">images\spr_blocks_2.png</frame>
<frame index="3">images\spr_blocks_3.png</frame>
</frames>
</sprite>