You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-TimeTrials/objects/oDrillWall.object.gmx

123 lines
3.9 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sPBPickup</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-110</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</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>
<string>tileset = 0;
if (global.event[172] == 1 || global.event[172] == 2) x = 800;
if (global.event[172] == 3) instance_destroy();
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="7" enumb="10">
<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>x += 16;
repeat (20) {
expl = instance_create(x - random(16), y + random(80), oFXAnimSpark);
expl.image_speed = 0.3;
expl.additive = 0;
expl.sprite_index = sExplSmoke2;
expl.depth = -120;
}
repeat (8) {
mytrail = instance_create(x - random(16), y + random(80), oFXTrail);
mytrail.sprite_index = sRockPieceA3;
mytrail.image_index = floor(random(6));
mytrail.image_alpha = 1;
mytrail.fadespeed = 0.005;
mytrail.additive = 0;
mytrail.vspeed = -1 - random(3);
mytrail.hspeed = -2 + random(3);
mytrail.gravity = 0.2;
mytrail.gravity_direction = 270;
mytrail.depth = -150;
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" 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>if (tileset == 0) {
draw_background_part(tlRock3A, 64, 208, 16, 32, x - 16, y - 16);
draw_background_part(tlRock3A, 112, 176, 16, 16, x, y);
draw_background_part(tlRock3A, 32, 0, 32, 64, x - 16, y + 16);
draw_background_part(tlRock3A, 112, 192, 16, 16, x, y + 80);
draw_background_part_ext(tlRock3A, 96, 208, 32, 16, x, y - 16, 20, 1, -1, 1);
draw_background_part_ext(tlRock3A, 96, 208, 32, 16, x + 16, y, 20, 6, -1, 1);
}
</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>