Half Circle like the letter C

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Yani354
Prole
Posts: 13
Joined: Wed May 24, 2023 5:21 pm

Half Circle like the letter C

Post by Yani354 »

is it possible to draw a half circle like thatImage if so can someone explain how.
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: Half Circle like the letter C

Post by Andlac028 »

Take a look at love.graphics.arc, you need line drawmode and open arcmode. The first example draws halfcircle, just modify angles to suit your needs. (angles are in radians, you can use math.deg and math.rad to concert between degrees and radius, but basically 180 degrees = math.pi radians)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests