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.
118 lines
3.9 KiB
118 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>sA3DrillTreads</spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>10</depth>
|
|
<persistent>0</persistent>
|
|
<parentName><undefined></parentName>
|
|
<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>
|
|
<string>active = 0;
|
|
image_speed = 0;
|
|
wheel_angle = 0;
|
|
slot_alpha = 0;
|
|
if (global.event[172] == 1 || global.event[172] == 2) x = 640;
|
|
if (global.event[172] == 3) x = 1152;
|
|
</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>
|
|
<string>if (active) {
|
|
image_speed = 0.2;
|
|
wheel_angle += 2;
|
|
if (wheel_angle > 360) wheel_angle -= 360;
|
|
if (slot_alpha < 1) slot_alpha += 0.05;
|
|
} else {
|
|
image_speed = 0;
|
|
if (slot_alpha > 0) slot_alpha -= 0.01;
|
|
}
|
|
</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>draw_sprite(sprite_index, -1, x, y + 5);
|
|
draw_sprite_ext(sprite_index, -1, x, y + 75, 1, -1, 0, -1, 1);
|
|
draw_sprite(sA3DrillSlot, 0, x - 4, y + 27);
|
|
draw_sprite_ext(sA3DrillSlot, 1, x - 4, y + 27, 1, 1, 0, -1, slot_alpha);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 7, y + 9, 1, -1, wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 42, y + 9, 1, -1, wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 77, y + 9, 1, -1, wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 112, y + 9, 1, -1, wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 7, y + 71, 1, 1, -wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 42, y + 71, 1, 1, -wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 77, y + 71, 1, 1, -wheel_angle, -1, 1);
|
|
draw_sprite_ext(sA3DrillWheel, -1, x + 112, y + 71, 1, 1, -wheel_angle, -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>
|