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.
AM2Rogue/Export_Code/gml_Object_oTransition_Othe...

22 lines
633 B

if instance_exists(oCharacter)
{
oCharacter.x = -100
oCharacter.y = -100
}
if (global.widescreen_enabled != oControl.widescreen && oControl.widescreen_switch == 1)
{
with (oControl)
{
widescreen = global.widescreen_enabled
if widescreen
widescreen_space = 106
if (global.opfullscreen == 0)
{
set_window_scale((window_get_height() / 240))
window_set_position((window_get_x() + ((53 - (global.widescreen_enabled * 106)) * (window_get_height() / 240))), window_get_y())
}
}
oControl.widescreen_switch = 0
}
room_goto(global.targetroom)