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 / help with mouse coordinates

Author
Message
Data
21
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 7th Oct 2006 04:44
Hi Im having trouble with the following code



seems very simple but what happens is that the numbers print over each other. WHy? how cna I stop this?

Free sigs, email addresses and contests!
JimmyR.Co.Uk
dab
21
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 7th Oct 2006 09:11 Edited at: 7th Oct 2006 09:13


Or even faster:



Edit:

Or



Your mom has been erased by a mod from you telling too many "your mom" jokes.
Bluestar4
20
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 8th Oct 2006 17:43
in some cases it would be easier to simply take a screen shot and open the bitmap up in edit mode and write down the x-y values. so if you have multiple buttons on the game, this might help you get on with your work a little bit, especially if you have multiple buttons in your program. simply add the following code in your main loop :



Login to post a reply

Server time is: 2026-07-07 01:53:05
Your offset time is: 2026-07-07 01:53:05