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/oEndingFadeout.object.gmx

151 lines
4.3 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sSolidBlank</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-99999</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>fadeAlpha = 0;
newRoom = 0;
fadeSpeed = 5;
alarm[0] = fadeSpeed;
fade = 1;
textalpha = 0;
timer = 0;
unlockmessage = 0;
unlockalpha = 0;
if (global.mod_fusion_unlocked == 0) {
unlockmessage = 1;
global.mod_fusion_unlocked = 1;
save_stats2();
}
</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>alarm[0] = fadeSpeed;
if(fade == 1) fadeAlpha += 0.03;
if (fadeAlpha &gt;= 1)
{
fade = 0;
timer += 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>if(timer &gt;= 100) {
room_goto(titleroom);
mus_stop(musEnding);
}
if(timer &gt; 10 &amp;&amp; timer &lt; 20 &amp;&amp; unlockalpha &lt; 1) unlockalpha += 0.02;
if(timer &gt; 70 &amp;&amp; unlockalpha &gt; 0) unlockalpha -= 0.02;
</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_alpha(fadeAlpha);
draw_rectangle_colour(0 - (oControl.widescreen_space/2), 0, room_width + oControl.widescreen_space, room_height, c_black, c_black, c_black, c_black, false);
draw_set_alpha(1.0);
draw_set_halign(fa_center);
if(unlockmessage) draw_cool_text_transformed(room_width/2, (room_height/2) - 16, get_text("Misc", "FusionUnlock"), c_black, c_yellow, c_orange, unlockalpha, 2);
</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>