You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
166 lines
4.5 KiB
XML
166 lines
4.5 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName><undefined></spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>0</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>text1 = get_text("IntroCutscene", "Scene1");
|
|
text2 = get_text("IntroCutscene", "Scene2");
|
|
text3 = get_text("IntroCutscene", "Scene3");
|
|
drawtext = text1;
|
|
state = 0;
|
|
statetime = 0;
|
|
textpos = 1;
|
|
textalpha = 1;
|
|
texty = 164;
|
|
imgalpha = 0;
|
|
drawimg = bgIntroText1;
|
|
|
|
</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 (state == 0) {
|
|
if (statetime == 0) textpos = 1;
|
|
if (statetime < 60) {
|
|
if (imgalpha < 1) imgalpha += 0.05;
|
|
}
|
|
if (statetime > 880) {
|
|
if (textalpha > 0) textalpha -= 0.05;
|
|
if (imgalpha > 0) imgalpha -= 0.05;
|
|
}
|
|
if (statetime == 900) {
|
|
state = 1;
|
|
statetime = 0;
|
|
}
|
|
if (statetime < 34 || statetime >= 94) textpos += 0.25;
|
|
}
|
|
if (state == 1) {
|
|
if (statetime == 0) {
|
|
textpos = 1;
|
|
textalpha = 1;
|
|
drawtext = text2;
|
|
drawimg = bgIntroText2;
|
|
texty = 176;
|
|
}
|
|
if (statetime < 60) {
|
|
if (imgalpha < 1) imgalpha += 0.05;
|
|
}
|
|
if (statetime > 880) {
|
|
if (textalpha > 0) textalpha -= 0.05;
|
|
if (imgalpha > 0) imgalpha -= 0.05;
|
|
}
|
|
if (statetime == 900) {
|
|
state = 2;
|
|
statetime = 0;
|
|
}
|
|
textpos += 0.25;
|
|
}
|
|
if (state == 2) {
|
|
if (statetime == 0) {
|
|
textpos = 1;
|
|
textalpha = 1;
|
|
drawtext = text3;
|
|
drawimg = bgIntroText3;
|
|
texty = 176;
|
|
}
|
|
if (statetime < 60) {
|
|
if (imgalpha < 1) imgalpha += 0.05;
|
|
}
|
|
if (statetime > 880) {
|
|
if (textalpha > 0) textalpha -= 0.05;
|
|
if (imgalpha > 0) imgalpha -= 0.05;
|
|
}
|
|
if (statetime == 900) instance_destroy();
|
|
textpos += 0.25;
|
|
}
|
|
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>var copyStr;
|
|
copyStr = string_copy(drawtext, 1, textpos);
|
|
draw_set_color(c_white);
|
|
draw_set_font(fontGUI2);
|
|
draw_set_alpha(textalpha);
|
|
draw_text(16, texty, copyStr);
|
|
draw_set_alpha(1);
|
|
draw_background_ext(drawimg, 16, 16, 1, 1, 0, -1, imgalpha);
|
|
</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>
|