Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Mouse key down query

Author
Message
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 23rd Sep 2003 05:35
Has anyone written a snippet that checks if a mousekey is being held down, rather than just clicked?

In my W.I.P. i need to make the player able to fire a bow, and that means drawing the bowstring, aiming, and then firing as he/she releases the mouse button.

Also, I'd like to make the player object swing his sword repeatedly, back and forth, when the mousekey is being held down -- much like in Jedi Knight when you hold down the mousekeys.

Thanks in advance!

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 23rd Sep 2003 05:38
Please ignore this. I've already found the answer.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----

Login to post a reply

Server time is: 2026-07-25 15:29:00
Your offset time is: 2026-07-25 15:29:00