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

141 lines
4.3 KiB
XML

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>ssEDFX</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>50</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>bgyoff = 0;
statetime = 0;
active = 0;
canskip = 0;
anitime = oControl.mod_backgroundspeed;
subim = 0;
alarm[0] = anitime;
</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>subim += 1;
alarm[0] = anitime;
</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 (bgyoff &lt; 400) bgyoff += 0.25;
if (statetime == 60) canskip = 1;
if (active == 0) {
if (statetime == 300) instance_create(160, 120, oTitleText1);
if (statetime == 900) instance_create(160, 120, oTitleText2);
}
if (active == 0 &amp;&amp; (statetime == 1600 || canskip == 1 &amp;&amp; (oControl.kMenu1 &amp;&amp; oControl.kMenu1PushedSteps == 1 || oControl.kMenu2 &amp;&amp; oControl.kMenu2PushedSteps == 1 || oControl.kStart &amp;&amp; oControl.kStartPushedSteps == 1))) {
with (oPressStart) visible = true;
with (oDrawTitleBG) fadein = 1;
with (oTitleText1) instance_destroy();
with (oTitleText2) instance_destroy();
active = 1;
}
if (active) bgyoff = lerp(bgyoff, 400, 0.02);
statetime += 1;
</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(sTitleAnimated, subim, -53, -bgyoff);
/*if (global.custom_background == false) draw_background(bgTitleScreen, 0, -bgyoff);
else draw_sprite(oControl.sprTitleScroll, subim, 0, -bgyoff);
</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>