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_oSS_Bg_Step_0.gml

22 lines
587 B

if fadein
{
if (image_alpha < 1)
image_alpha += 0.05
else
fadein = 0
}
if (os_type == os_android && os_is_paused())
alarm[0] = 1
if (!surface_exists(oControl.screen_surface))
{
oControl.screen_surface = surface_create((512 + oControl.widescreen_space), 256)
s_bg = background_add((working_directory + "/tempscr"), 0, 0)
surface_set_target(oControl.screen_surface)
draw_clear(c_black)
if background_exists(s_bg)
draw_background(s_bg, 0, 0)
surface_reset_target()
if background_exists(s_bg)
background_delete(s_bg)
}