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 Discussion / Click and Drag

Author
Message
ZIM
22
Years of Service
User Offline
Joined: 28th Jan 2003
Location:
Posted: 30th Jan 2003 02:14
I was wondering if there was a way to make a click and drag type program where you select the 3D model and drag it across the screen. As of right now I can't find a way to keep the mouse moving once it has selected the model, also I need a better way of selecting the model with the mouse. Any help will be greatly appreicated.
HAL
22
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 30th Jan 2003 22:50
here's the start of a basic way of doing it. the important bit is the holdit variable that is not changed back to 0 until the mouse is released.
ZIM
22
Years of Service
User Offline
Joined: 28th Jan 2003
Location:
Posted: 1st Feb 2003 04:28
Thank You, I will try this right now.

Login to post a reply

Server time is: 2025-08-08 11:44:45
Your offset time is: 2025-08-08 11:44:45