1. Follow the line
- Posted by Paul Kerslake <paulk at UNISERVE.COM> Sep 18, 2000
- 427 views
- Last edited Sep 19, 2000
------=_NextPart_000_0007_01C021B3.9C913B00 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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..=20 --------- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> = () 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. ------=_NextPart_000_0007_01C021B3.9C913B00 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> I've been making a = program that=20 draws a line repeatedly with different colours through a loop that ends = at the=20 coordinates if a circle.. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>--------- = ()</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the line = =20 = =20 = line=20 travels and hits a=20 cirlce=20 explodes when line touches =20 = =20 = =20 = =20 = =20 = =20 = =20 = =20 = =20 it</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>The problem is, there is a trail behind = the line of=20 multiple colours. How can I be rid of this?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>-Thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2>8-></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>-Thomas K.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>PS. I'm making a web page that has some = interesting=20 Euhporia stuff on it, I'll tell you when It's up.</FONT></DIV> <DIV> </DIV> ------=_NextPart_000_0007_01C021B3.9C913B00--
2. Re: Follow the line
- Posted by "Thomas Parslow (PatRat)" <patrat at iname.com> Sep 19, 2000
- 402 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