draw circle love2d code example
Example: draw circle love2d
-- DrawMode: "fill" or "line"
love.graphics.circle(DrawMode, x, y, radius, segments)
-- Example
function love.draw()
love.graphics.setColor(1, 0, 0)
love.graphics.circle("fill", 300, 300, 50, 5) -- Draw red circle with five segments.
end