Files
AM2R-Community-Updates/objects/oSparkParticle.object.gmx
2020-12-22 20:54:55 -06:00

180 lines
4.9 KiB
XML

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sSparkParticle</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</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>direction = random(360);
speed = random(3);
gravity_direction = 270;
gravity = 0.2;
alarm[0] = 60 + random(120);
tposx[0] = x;
tposx[1] = x;
tposx[2] = x;
tposx[3] = x;
tposx[4] = x;
tposy[0] = y;
tposy[1] = y;
tposy[2] = y;
tposy[3] = y;
tposy[4] = y;
mycolor = c_yellow;
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="2" 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>image_alpha -= 0.01;
if (image_alpha &lt;= 0) instance_destroy();
alarm[0] = 1;
</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>tposx[4] = tposx[3];
tposx[3] = tposx[2];
tposx[2] = tposx[1];
tposx[1] = tposx[0];
tposx[0] = x;
tposy[4] = tposy[3];
tposy[3] = tposy[2];
tposy[2] = tposy[1];
tposy[1] = tposy[0];
tposy[0] = y;
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="4" ename="oSolid">
<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>move_bounce_all(0);
speed *= 0.4;
</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_set_blend_mode(bm_add);
draw_set_color(mycolor);
draw_set_alpha(0.8 * image_alpha);
draw_line(x, y, tposx[0], tposy[0]);
draw_set_alpha(0.6 * image_alpha);
draw_line(tposx[0], tposy[0], tposx[1], tposy[1]);
draw_set_alpha(0.4 * image_alpha);
draw_line(tposx[1], tposy[1], tposx[2], tposy[2]);
draw_set_alpha(0.2 * image_alpha);
draw_line(tposx[2], tposy[2], tposx[3], tposy[3]);
draw_set_alpha(0.1 * image_alpha);
draw_line(tposx[3], tposy[3], tposx[4], tposy[4]);
draw_set_alpha(1);
draw_set_blend_mode(bm_normal);
</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>-1</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>