XNA doesn’t have any methods which support circle drawing.
Normally when I had to draw circle, always with the same color, I just made image with that circle and then I could display it as a sprite.
But now the color of the circle is specified during runtime, any ideas how to deal with that?
XNA doesn’t have any methods which support circle drawing. Normally when I had to
Share
You can simply make an image of a circle with a
Transparentbackground and the coloured part of the circle asWhite. Then, when it comes to drawing the circles in theDraw()method, select the tint as what you want it to be:Just for fun, here is the CreateCircle method: