ludum-dare-22/objects/obj_fire/Draw_0.gml

17 lines
622 B
Plaintext
Raw Permalink Normal View History

if global.boss
draw_set_blend_mode(bm_subtract)
d3d_set_lighting(false)
var tex = sprite_get_texture(spr_firetex,0)
d3d_transform_set_identity()
d3d_transform_set_rotation_z(meter)
d3d_transform_add_translation(x,y,z)
d3d_draw_cylinder(-room_width/2,-room_height/2,-500,room_width/2,room_height/2,400,tex,20,-1,false,24)
d3d_transform_set_rotation_z(-meter)
d3d_transform_add_translation(x,y,z)
d3d_draw_cylinder(-room_width/2+50,-room_height/2+50,-550,room_width/2+50,room_height/2+50,350,tex,20,-1,false,24)
d3d_transform_set_identity()
meter += .025
draw_set_alpha(1)
draw_set_blend_mode(bm_normal)