Musiałem otexturować xD
GML
ilosc_punktow = 24;
draw_set_color(c_white);
draw_primitive_begin_texture(pr_trianglefan, tex);
draw_vertex_texture(srodek_kola_x, srodek_kola_y, 0.5, 0.5);
for ( var i = 0; i < (ile_czasu_zostalo / ile_czasu_max) * 360; i+= (360 / ilosc_punktow) )
{
draw_vertex_texture(srodek_kola_x + (dsin(i)*promien),
srodek_kola_y - (dcos(i)*promien), 0.5+dsin(i)*0.5, 0.5-dcos(i)*0.5 );
}
i = (ile_czasu_zostalo / ile_czasu_max) * 360;
draw_vertex_texture(srodek_kola_x + (dsin(i)*promien),
srodek_kola_y - (dcos(i)*promien), 0.5+dsin(i)*0.5, 0.5-dcos(i)*0.5 );
draw_primitive_end();