2020-07-22 22:50:27 +00:00
|
|
|
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
|
|
<object>
|
|
|
|
<spriteName>spr_asteroid</spriteName>
|
|
|
|
<solid>0</solid>
|
|
|
|
<visible>-1</visible>
|
|
|
|
<depth>0</depth>
|
|
|
|
<persistent>0</persistent>
|
2020-07-24 08:17:51 +00:00
|
|
|
<parentName>obj_chunk_item</parentName>
|
2020-07-22 22:50:27 +00:00
|
|
|
<maskName><undefined></maskName>
|
|
|
|
<events>
|
|
|
|
<event eventtype="0" 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>
|
2020-07-25 06:20:00 +00:00
|
|
|
<string>/// Init
|
|
|
|
image_speed = 0;
|
2020-07-25 06:03:40 +00:00
|
|
|
image_index = random_range(0,2);
|
2020-07-23 00:38:08 +00:00
|
|
|
angle = random_range(0,180);
|
2020-07-22 22:50:27 +00:00
|
|
|
direction = angle;
|
|
|
|
image_angle = angle;
|
2020-07-25 06:20:00 +00:00
|
|
|
|
2020-07-28 23:29:00 +00:00
|
|
|
</string>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
</action>
|
|
|
|
</event>
|
|
|
|
<event eventtype="1" 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>
|
2020-07-29 01:22:35 +00:00
|
|
|
<string>with(instance_create(x,y,obj_dropped_item))
|
|
|
|
{
|
|
|
|
item_id = STONE;
|
|
|
|
}
|
2020-07-24 12:24:30 +00:00
|
|
|
</string>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
</action>
|
|
|
|
</event>
|
|
|
|
<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>
|
2020-07-25 06:20:00 +00:00
|
|
|
<string>/// Slow down if too fast
|
|
|
|
if(speed > 0)
|
2020-07-24 12:24:30 +00:00
|
|
|
{
|
|
|
|
speed -= 1
|
|
|
|
}
|
2020-07-25 07:47:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
pull_towards_black_holes();
|
2020-07-29 01:22:35 +00:00
|
|
|
</string>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
</action>
|
|
|
|
</event>
|
|
|
|
<event eventtype="4" ename="obj_placed_item">
|
|
|
|
<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>speed = -20;
|
2020-07-25 07:47:36 +00:00
|
|
|
</string>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
</action>
|
|
|
|
</event>
|
|
|
|
<event eventtype="4" ename="obj_black_hole">
|
|
|
|
<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>
|
2020-07-25 07:50:59 +00:00
|
|
|
<string>instance_destroy(id);
|
2020-07-22 22:50:27 +00:00
|
|
|
</string>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
</action>
|
|
|
|
</event>
|
|
|
|
</events>
|
|
|
|
<PhysicsObject>0</PhysicsObject>
|
|
|
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
|
|
|
<PhysicsObjectShape>0</PhysicsObjectShape>
|
|
|
|
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
|
|
|
|
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
|
|
|
|
<PhysicsObjectGroup>0</PhysicsObjectGroup>
|
|
|
|
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
|
|
|
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
|
|
|
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
|
|
|
|
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
|
|
|
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
|
|
|
|
<PhysicsShapePoints/>
|
|
|
|
</object>
|