Page 1 of 1

hold down mouse

PostPosted: Fri Apr 07, 2006 3:54 am
by frodo
I have a tank that drives around and shoots. I want to be able to hold down the mouse and a bullet comes out every 200 milliseconds. would I use activation events?
Thanks.

PostPosted: Fri Apr 07, 2006 4:02 am
by makslane
Create a timer in the Mouse Button Down event and destroy in the Mouse Button Up event.

In the timer event, make the shot

PostPosted: Fri Apr 07, 2006 1:02 pm
by frodo
Thanks