Re: Follow the line
- Posted by "Thomas Parslow (PatRat)" <patrat at iname.com> Sep 19, 2000
- 401 views
> I've been making a program that draws a line repeatedly with different > colours through a loop that ends at the coordinates if a circle.. > >--------- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > () > the line line travels and hits a ball > cirlce explodes when line touches > > it > > The problem is, there is a trail behind the line of multiple colours. How can > I be rid of this? > > -Thanks 8->> > -Thomas K. > PS. I'm making a web page that has some interesting Euhporia stuff on it, I'll > tell you when It's up. Hi, For this I would recommend first drawing the new line then drawing a line with the background color that goes from the beginning of the new line to x pixels behind it (x is the amount of pixels you moved the line). This should erases the old line and not cause the flicker you'd get if you cleared the entire screen. Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.ratsoft.freeserve.co.uk/ Please leave quoted text in place when replying