Macroquad: why do I see these blank dots when using draw_circle_lines() function?


So I am using draw_circle_lines() function using the macroquad crate and for some reason it displays this ugly blank dots where you can see the background. Here is my code to draw this (only for the draw_circle_line() function)

draw_circle_lines(screen_width()/2., screen_height()/2, 30, 20., RED);

This is aliasing. If you want a clean circle, you'll need a better circle drawing method, or a higher resolution on the parameters. (It looks like this isn't actually drawing a circle, it's drawing a 200-sided polygon outline.)

I see, thanks mate

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.