Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CIRCLE command glitch
#1
Hey guys, I'm creating a little loading thing where part of a circle goes around in a circle using the circle command and its start,end variables. What I would like to achieve is a perfect circle if all the parts where not cleared. Now when I run it without CLS for 1 cycle, it forms a full circle no mater what size, but as some of you may know, the circle command does not always cover everysingle pixel so it leaves blank spaces. Can anyone help me fix this. I don't think I need the code since this problem deals with the circle command in fb. Any help is appreciated.
Reply
#2
first off...its not a glitch...second there are two methods to solving that problem.
1) do 4 circle commands with center at
x,y
x+1,y
x,y+1
x+1,y+1
2) Do it backwards (big radius to little) and use the F (fills the circle) switch.
[Image: freebasic.png]
Reply
#3
Quote:first off...its not a glitch...second there are two methods to solving that problem.
1) do 4 circle commands with center at
x,y
x+1,y
x,y+1
x+1,y+1
2) Do it backwards (big radius to little) and use the F (fills the circle) switch.

I'll try the first one, the circle arc is used as a sepearate layer so I can;t use filled circles, so would the radius be one less tthen? I'll try it.

It worked with changing the radius by -1, thanks again.
Reply
#4
no problem
[Image: freebasic.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)