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

17 lines
834 B

draw_sprite_ext(sTesterBody, -1, x, y, 1, 1, image_angle, image_blend, image_alpha)
draw_sprite_ext(sTesterBody, -1, x, y, -1, 1, image_angle, image_blend, image_alpha)
draw_sprite_ext(sTesterBody, -1, x, y, -1, -1, image_angle, image_blend, image_alpha)
draw_sprite_ext(sTesterBody, -1, x, y, 1, -1, image_angle, image_blend, image_alpha)
if flashing
{
draw_set_blend_mode(bm_add)
repeat (2)
{
draw_sprite_ext(sTesterBody, -1, x, y, 1, 1, image_angle, image_blend, (flashing / 5))
draw_sprite_ext(sTesterBody, -1, x, y, -1, 1, image_angle, image_blend, (flashing / 5))
draw_sprite_ext(sTesterBody, -1, x, y, -1, -1, image_angle, image_blend, (flashing / 5))
draw_sprite_ext(sTesterBody, -1, x, y, 1, -1, image_angle, image_blend, (flashing / 5))
}
draw_set_blend_mode(bm_normal)
}