Computer Science Canada

Coordinate Finder

Author:  recneps [ Wed Jan 21, 2004 4:00 pm ]
Post subject:  Coordinate Finder

Coordinate Finder, real simple program, good for doing drawing stuff, tells the coordinates of where you click.

code:
var x, y, btn, updown, : int

loop
buttonwait ("down", x, y, btn, updown)
put x,",",y
end loop

REAL simple Very Happy

Author:  kalin [ Wed Jan 21, 2004 4:03 pm ]
Post subject: 

WEll, that's interesting. Now, if I could just figure out how to use the mouse..........

Author:  recneps [ Wed Jan 21, 2004 4:21 pm ]
Post subject: 

Step 1. Take hand, and move it over top of round-ish thing with 2-3 buttons. (it usually has a cord, but not always.)
Step 2. Cup hand around it, with one finger on each button.
Step 3. Move the mouse, and press down on fingers, to make a "click"

Laughing

Author:  kalin [ Wed Jan 21, 2004 4:24 pm ]
Post subject: 

I meant programming in you numskull! Rolling Eyes

Author:  sport [ Wed Jan 21, 2004 4:31 pm ]
Post subject: 

Pretty useful as a consideration for a future game.

Author:  recneps [ Wed Jan 21, 2004 4:31 pm ]
Post subject: 

I know, that was a joke lol Laughing <- thats a laughing face (doesnt really look like it tho :\)

Author:  djlenny_3000 [ Mon Mar 08, 2004 7:45 pm ]
Post subject: 

Very Happy thanx amazing stuff really useful in my new school project i totally forgot about the button wait command i feel really bloody stupid Embarassed

Author:  recneps [ Tue Mar 09, 2004 4:15 pm ]
Post subject: 

No problem, im glad SOMEONE used it, its been there for like 2 months and no replies Smile

Author:  CreatedByGabe [ Thu Jun 11, 2015 1:40 pm ]
Post subject:  RE:Coordinate Finder

recneps Wrote: wrote:
Coordinate Finder, real simple program, good for doing drawing stuff, tells the coordinates of where you click.

code:
var x, y, btn, updown, : int

loop
buttonwait ("down", x, y, btn, updown)
put x,",",y
end loop

REAL simple Very Happy


Awesome! this works perfectly for me to know where to paste pictures in my game! Thanks!!! Smile Dance


: