gmc-jam-7/objects/obj_bomber/Draw_0.gml

10 lines
560 B
Plaintext
Raw Permalink Normal View History

d3d_set_projection_ortho(0,0,800,600,0)
tex = sprite_get_texture(spr_crystal,0)
draw_set_alpha(.3)
d3d_draw_ellipsoid(x-(150-alarm[0]*5),y-(150-alarm[0]*5),-(150-alarm[0]*5),x+(150-alarm[0]*5),y+(150-alarm[0]*5),+(150-alarm[0]*5),tex,1,1,30)
d3d_draw_ellipsoid(x-(100-alarm[0]*5),y-(100-alarm[0]*5),-(100-alarm[0]*5),x+(100-alarm[0]*5),y+(100-alarm[0]*5),+(100-alarm[0]*5),tex,1,1,30)
draw_set_alpha(1)
d3d_set_projection_perspective(0,0,800,600,0)
d3d_set_projection(obj_3Dstuff.x,obj_3Dstuff.y,obj_3Dstuff.z,obj_3Dstuff.x,obj_3Dstuff.y+100,0,0,0,1)