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 / Moving .bmp images with mouse

Author
Message
cartrbl
21
Years of Service
User Offline
Joined: 21st Mar 2003
Location:
Posted: 10th Apr 2006 23:42
Didn't notice this one being posted. I'm trying to move a 2d card with the mouse, but currently it doesn't work. Am I missing something else more in the code? Any help is appreciated.

Speak while there's time.
cartrbl
21
Years of Service
User Offline
Joined: 21st Mar 2003
Location:
Posted: 10th Apr 2006 23:43
Soory using DBC.

Speak while there's time.
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 11th Apr 2006 00:08
Try making it a sprite...



cartrbl
21
Years of Service
User Offline
Joined: 21st Mar 2003
Location:
Posted: 11th Apr 2006 00:12
Thanks to those that have reviewed my code, but it looks like I figured out part of the problem (see reposted code). Now I have another issue with the image "lagging" the cursor if it moves fast. If any could check that for me, I'd like that. Thanks again.

Speak while there's time.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 11th Apr 2006 02:15
You don't use Sync On like that. Do this...




Login to post a reply

Server time is: 2024-11-27 22:46:02
Your offset time is: 2024-11-27 22:46:02