Page 1 of 1

Draw event...

PostPosted: Sun Dec 14, 2003 1:33 am
by linux_man007
I noticed a small problem with GE.

I want to have a dot object to move PERFECTLY with the mouse pointer
so I can click on any screen coordinate and have an object move toward the
position my mouse was at when I clicked.

I created the dot so that the mouse button down event would always be able to
be triggered.

The problem:

The dot object trails behind the mouse cursor, not keeping up with it!

I think that the draw event actually occurs after the actor is drawn.

Would adding a Begin Draw event
(an event that occurs BEFORE the actor is drawn) solve the problem?

PostPosted: Sun Dec 14, 2003 2:43 am
by makslane
Try the Follow Mouse action