var xx,yy,angle,lines;
xx = room_width / 2;
yy = room_height / 2;
lines = 18;
angle = 180 + 180 / lines * (obj_player.x / room_width) // I do not know name of the object you move around, so you will have to adjust that
draw_set_color(c_lime);
while(angle < 360){
draw_line(xx,yy,xx+lenghtdir_x(200,angle), yy+lenghtdir_y(200,angle));
angle += 180 / lines;
}
draw_set_color(c_black);