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

11 lines
419 B

draw_sprite_ext(sprite_index, -1, (x + offx), (y + offy), 1, 1, image_angle, -1, 1)
if (!damaged)
draw_sprite_ext(chargeType, image_index, (x + offx), (y + offy), 1, 1, image_angle, -1, charge)
if (flashing && damaged == 0)
{
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)
}