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.

Newcomers DBPro Corner / Custom Cursors

Author
Message
The Ringmaster
19
Years of Service
User Offline
Joined: 19th Mar 2005
Location: Cyberspace
Posted: 18th Jul 2005 22:29
There is probably another post for this, but im too lazy too find it.

Custom cursors are in a lot of games, I have seen them used in DB too. I have been combing through the DB help, but have not found any commands that may help me.
I want something along the lines of getting a bitmap, and then a command of bitmapfollowmouse and then a hidemouse command to hide the mouse but not the bitmap, so then the bitmap acts like the mouse. I can do this in Flash ACTIONSCRIPT and JUSTbasic, but I am unsure wether this is possible in DBclassic. Help?

Clouds float the exact same way bricks don't
- Douglas Adams
Leeorg
19
Years of Service
User Offline
Joined: 5th Jul 2005
Location:
Posted: 19th Jul 2005 03:32
Easiest way I know is to do this:

Sprite 1,mousex(),mousey(),<mousepoint bitmap>
SYNC

and obviously include it into a part of your program that will continuously use to update the mouse whereabouts.
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 19th Jul 2005 04:25
You can use the hide mouse command with it.

The happenings of tommorow are behind us now
Leeorg
19
Years of Service
User Offline
Joined: 5th Jul 2005
Location:
Posted: 19th Jul 2005 04:29
Yeah - good one, forgot about that minor little detail!
James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 19th Jul 2005 05:08
Too lazy to find it? Hmm, well im too lazy to help...

Hello!

Login to post a reply

Server time is: 2024-09-23 23:28:16
Your offset time is: 2024-09-23 23:28:16