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 / changing cursors

Author
Message
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 16th Mar 2004 03:44
is there a command like set cursor(mouse cursor)? I really don't want to use a sprite because it's a 3d game and i'm sure that would slow it down.


I have basics for newbies and shortcuts for everyone.
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 16th Mar 2004 15:58
Make object plain cursor,10,10
Texture object cursor,cursor_image
Lock object on cursor

Now position the plain at mousex() and mousey()
You might have to use a few modifications, (cursor = object nr, cursor_image = image nr)

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"

Login to post a reply

Server time is: 2025-05-22 21:53:16
Your offset time is: 2025-05-22 21:53:16