Drawing a circle with Andengine

I am looking for a way to draw a circle using Andengine. As I see it, I can only draw lines, rectangles and sprites, but I cannot find a way to draw circles. How can i do this?

+3
source share
1 answer

In fact, you cannot directly draw a circle. Alternatives:

  • Display of a quad with a circle texture (for example, this link )
  • Displays a circle, actually a circle of connected triangles. You must process the geometric shape to get closer to the circle. For a continuous circle it is not so difficult. I suppose the outline of a hollow circle / circle is a bit more involved. You could also draw a circle with lines, if that is what you want.

Good luck.

+3
source

All Articles