d3d_set_lighting(true) pointsdirection = point_direction(x,y,mouse_x,mouse_y) d3d_transform_set_identity() d3d_transform_set_rotation_z(pointsdirection+180) d3d_transform_add_translation(x,y,z) tex = sprite_get_texture(spr_star,0) d3d_draw_ellipsoid(-o_o,-o_o,19,o_o,o_o,25,tex,1,1,5) d3d_draw_ellipsoid(-o_o,-o_o,5,o_o,o_o,11,tex,1,1,5) d3d_draw_ellipsoid(-o_o,-o_o,-15,o_o,o_o,-9,tex,1,1,5) tex = sprite_get_texture(spr_player,0) d3d_draw_cone(-16,-16,-20,16,16,20,tex,1,1,false,5) d3d_draw_ellipsoid(-6,-6,15,6,6,27,tex,1,1,5) o_o = 3 draw_set_alpha(.5) d3d_draw_floor(-16,-16,-450,16,16,-450,tex,1,1) draw_set_alpha(1) d3d_transform_set_identity() tex = sprite_get_texture(spr_barrier,0) if global.invuln > 0 { draw_set_alpha(.25) d3d_draw_ellipsoid(x-40,y-40,z-40,x+40,y+40,z+40,tex,1,1,12) draw_set_alpha(1) }