Page 1 of 1

Paint lines with the cursor

PostPosted: Tue Jan 09, 2007 3:02 pm
by JonGoten
I wan´t to paint lines on the screen with the cursor as pencil (imagine painting with Paint).
I wan´t to draw pressing the mouse left button.

I´ve created a canvas actor, but if I paint with Mousekey event, only paints a dot, not a line, and if I paint with ondraw event, it paints anytime.

How can I do this?

Thank you.

PostPosted: Tue Jan 09, 2007 10:22 pm
by Game A Gogo
theres a tutorial about this, check in the mouse draw thing, well, just check in help and then check the tutorials.

PostPosted: Tue Jan 09, 2007 10:31 pm
by JonGoten
Got it! All is clear.

Thank you.