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
72 lines
2.8 KiB
XML
72 lines
2.8 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName>sEDBg2</spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>1000</depth>
|
|
<persistent>0</persistent>
|
|
<parentName><undefined></parentName>
|
|
<maskName><undefined></maskName>
|
|
<events>
|
|
<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 xoffw = 0;
|
|
|
|
for (i = 0; i < bgno; i += 1) {
|
|
if (bgid[i] != bgScreenGuide) {
|
|
if (oControl.widescreen) {
|
|
if (tile[i] == 1) {
|
|
draw_background_tiled_ext(bgid[i], floor(view_xview[1] * xratio[i] + xoff[i] + xoffw), floor(view_yview[1] * yratio[i] + yoff[i]), xscale[i], yscale[i], -1, alpha[i]);
|
|
} else {
|
|
draw_background_ext(bgid[i], floor(view_xview[1] * xratio[i] + xoff[i]), floor(view_yview[1] * yratio[i] + yoff[i]), xscale[i], yscale[i], 0, -1, alpha[i]);
|
|
}
|
|
} else {
|
|
if (tile[i] == 1) {
|
|
if (bgid[i] == bgA5Outside) { // edge case to accomodate the new BG size
|
|
xoffw = -64;
|
|
} else xoffw = 0;
|
|
draw_background_tiled_ext(bgid[i], floor(view_xview[0] * xratio[i] + xoff[i] + xoffw), floor(view_yview[0] * yratio[i] + yoff[i]), xscale[i], yscale[i], -1, alpha[i]);
|
|
} else {
|
|
if (bgid[i] == bgA7Cave) { // edge case to accomodate the new BG size
|
|
xoffw = -48;
|
|
} else xoffw = 0;
|
|
draw_background_ext(bgid[i], floor(view_xview[0] * xratio[i] + xoff[i] + xoffw), floor(view_yview[0] * yratio[i] + yoff[i]), xscale[i], yscale[i], 0, -1, alpha[i]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</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>
|