PDA

View Full Version : Simple line drawing (and erasing)


reyno
08-25-2002, 02:31 AM
Please help.

I have been trying to randomly draw lines (I can do that using moveTo and lineTo) and then leaving them for a short period before having them fade away (tried reseting the linestyle to white and gradually fading the _alpha). Problem is it completes the fade before displaying so the line just disappears.

Any other ideas?

vosgien
08-25-2002, 03:41 AM
Hi,
have you thought of using getTimer method, so that the lines show for a fixed period of seconds and then start to fade.
Worth a try

Cheers

Vosgien

reyno
08-25-2002, 03:52 AM
Thanks Vosgien,

I had been using a loop, but that was casuing problems. Also it did not give me the kind of control I was hoping for.

Cheers.