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 / Questions on windows and clicking on 3d objects in 3d space

Author
Message
sgalland
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: United States
Posted: 19th Mar 2004 07:46
Hello,

I am trying to make a window that you can click on and it will move where you point the mouse. When I click the mouse withing the boundries for the window, nothing happens. I even set the code (which you can see here) to move to 0,0 when the window is clicked, and nothing happens.

Also I was wondering how you can make the mouse be able to select 3d objects in your game? Any ideas or code that can help me with these two problems would be GREATLY appreciated
sgalland
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: United States
Posted: 19th Mar 2004 08:31
OK, now for the window I am getting somewhere, the only problem is I changed it to a GOSUB instead of a function and when I move it, using the mousemove commands the window does move, but it just juts around the screen and doesn't move like a normal click and drag operation. Any ideas?

Login to post a reply

Server time is: 2025-05-23 00:27:53
Your offset time is: 2025-05-23 00:27:53