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

159 lines
5.8 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-100</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>ealpha = 0;
active = 0;
fadeout = 0;
rectoffset = 0;
maptext = "PLANET SR-388";
timetext = steps_to_time2(global.gametime);
if (global.monstersleft &lt; 10) {
metrtext1 = "0" + string(global.monstersleft);
} else metrtext1 = string(global.monstersleft);
if (global.monstersarea &lt; 10) {
metrtext2 = "0" + string(global.monstersarea);
} else metrtext2 = string(global.monstersarea);
tip1text = "[Select] -&gt; Equipment";
tip2text = "[Fire] - Place Marker";
tip3text = "[Fire] - Set Marker Position";
tip4text = "[Jump] - Delete Marker";
tip5text = "[Fire] - Edit Marker";
widescreen = oControl.widescreen;
widescreen_space = oControl.widescreen_space;
</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 &amp;&amp; oControl.kStart &amp;&amp; oControl.kStartPushedSteps == 0) {
fadeout = 1;
active = 0;
instance_create(0, 0, oMapScrBG3);
}
if (fadeout) rectoffset += 2;
if (ealpha &lt; 1 &amp;&amp; fadeout == 0) ealpha += 0.05;
if (ealpha &gt; 0 &amp;&amp; fadeout) ealpha -= 0.05;
if (ealpha &gt;= 1 &amp;&amp; fadeout == 0) active = 1;
if (ealpha &lt;= 0 &amp;&amp; fadeout) {
global.ingame = 1;
global.transitiontype = 3;
room_goto(global.currentroom);
Unmute_Loops();
}
</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_color(c_black);
draw_set_alpha(1);
draw_rectangle(view_xview[0]-(widescreen_space/2), view_yview[0], view_xview[0] + 330 + (widescreen_space/2), view_yview[0] + 41 - rectoffset, false);
draw_rectangle(view_xview[0]-(widescreen_space/2), view_yview[0] + 198 + rectoffset, view_xview[0] + 330 + (widescreen_space/2), view_yview[0] + 250, false);
draw_background_ext(bg_SubScrBottom, view_xview[0]-(widescreen_space/2), view_yview[0] + 32 - rectoffset, 10+(widescreen*3), 1, 0, -1, ealpha);
draw_background_ext(bg_MapBottom, view_xview[0], view_yview[0] + 198 + rectoffset, 1, 1, 0, -1, ealpha);
draw_set_alpha(ealpha);
draw_set_font(fontGUI2);
draw_set_halign(fa_center);
draw_set_color(c_black);
draw_text(view_xview[0] + 161, view_yview[0] + 30 - rectoffset, maptext);
draw_set_color(c_white);
draw_text(view_xview[0] + 160, view_yview[0] + 29 - rectoffset, maptext);
draw_set_halign(fa_left);
draw_set_color(c_black);
draw_text(view_xview[0] + 18, view_yview[0] + 196 + rectoffset, timetext);
draw_text(view_xview[0] + 260, view_yview[0] + 196 + rectoffset, metrtext1);
draw_text(view_xview[0] + 304, view_yview[0] + 196 + rectoffset, metrtext2);
draw_set_color(c_white);
draw_text(view_xview[0] + 17, view_yview[0] + 195 + rectoffset, timetext);
draw_text(view_xview[0] + 259, view_yview[0] + 195 + rectoffset, metrtext1);
draw_text(view_xview[0] + 303, view_yview[0] + 195 + rectoffset, metrtext2);
draw_set_font(fontMenuSmall);
draw_set_color(c_white);
draw_set_halign(fa_right);
draw_text(view_xview[0] + 318, view_yview[0] + 229 + rectoffset, tip1text);
draw_set_halign(fa_left);
if (oMapCursor.state == 0) draw_text(view_xview[0] + 2, view_yview[0] + 229 + rectoffset, tip2text);
if (oMapCursor.state == 1) {
draw_text(view_xview[0] + 2, view_yview[0] + 221 + rectoffset, tip3text);
draw_text(view_xview[0] + 2, view_yview[0] + 229 + rectoffset, tip4text);
}
if (oMapCursor.state == 2) draw_text(view_xview[0] + 2, view_yview[0] + 229 + rectoffset, tip5text);
</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>