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_oTesterCannon_Dr...

16 lines
552 B

if (damaged == 0)
{
draw_sprite_ext(sprite_index, -1, (x + offx), (y + offy), 1, 1, image_angle, -1, 1)
if flashing
{
draw_set_blend_mode(bm_add)
repeat (2)
draw_sprite_ext(sprite_index, -1, (x + offx), (y + offy), 1, 1, image_angle, -1, (flashing / 5))
draw_set_blend_mode(bm_normal)
}
}
else if (type == 0)
draw_sprite_ext(sTesterCannonDestr, 0, (x + offx), (y + offy), 1, 1, image_angle, -1, 1)
else
draw_sprite_ext(sTesterCannonDestr, 1, (x + offx), (y + offy), 1, 1, image_angle, -1, 1)