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

16 lines
583 B

draw_sprite_ext(sprite_index, -1, x, y, facing, 1, 0, image_blend, 1)
if flashing
{
draw_sprite_ext(sprite_index, -1, x, y, facing, 1, image_angle, make_color_rgb((255 - (fxtimer * 63)), (255 - (fxtimer * 63)), (255 - (fxtimer * 63))), 1)
draw_set_blend_mode(bm_add)
repeat (2)
draw_sprite_ext(sprite_index, -1, x, y, facing, 1, image_angle, -1, (1 - (fxtimer * 0.25)))
draw_set_blend_mode(bm_normal)
}
if (state == 5)
{
draw_set_blend_mode(bm_add)
draw_sprite_ext(sTorizoDiveJetFX, -1, x, y, facing, 1, 0, -1, 1)
draw_set_blend_mode(bm_normal)
}