1. Follow the line

------=_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>&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>---------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

()</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the line&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; line=20
travels and hits a=20
&nbsp;cirlce=20
explodes when line touches &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; it</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>8-&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Thomas K.</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>

------=_NextPart_000_0007_01C021B3.9C913B00--

new topic     » topic index » view message » categorize

2. Re: Follow the line

>     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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu