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 / mouse effect

Author
Message
Captain America
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 27th Jul 2005 15:11 Edited at: 28th Jul 2005 09:53
Hello,
In my game that I am currently making, I am having trouble with a mouseclick effect.
I want it like this: when the mouse is not clicked it looks like a normal mouse arrow except in my game its blue. Then when you click the mouse it turns the top half of the cursor white.
This problem has been very difficult for me to solve, i have tried what seems like to me every trick in the book, yet the answer still seems illusive. I would greatly appreciate any help with my problem!

Thanks!

-Captain America-


Cheers,
Capt. America
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 27th Jul 2005 18:35 Edited at: 27th Jul 2005 18:37
You just change the sprite when you click a mouse button. I just threw the image together using something I found off the internet.

Hope this helps. (Written for Classic)

Captain America
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 28th Jul 2005 09:52 Edited at: 28th Jul 2005 09:53
WOW!!!
Thanks i understand the method that you used perfectly!!!
Thank you so much for solving my problem!!!

Thanks again!

-Captain America-


Cheers,
Capt. America
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 28th Jul 2005 12:45
np

Login to post a reply

Server time is: 2025-05-22 12:41:16
Your offset time is: 2025-05-22 12:41:16