Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Coordinate Finder
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
recneps




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
kalin




PostPosted: Wed Jan 21, 2004 4:03 pm   Post subject: (No subject)

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




PostPosted: Wed Jan 21, 2004 4:21 pm   Post subject: (No 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
kalin




PostPosted: Wed Jan 21, 2004 4:24 pm   Post subject: (No subject)

I meant programming in you numskull! Rolling Eyes
sport




PostPosted: Wed Jan 21, 2004 4:31 pm   Post subject: (No subject)

Pretty useful as a consideration for a future game.
recneps




PostPosted: Wed Jan 21, 2004 4:31 pm   Post subject: (No subject)

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




PostPosted: Mon Mar 08, 2004 7:45 pm   Post subject: (No 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
recneps




PostPosted: Tue Mar 09, 2004 4:15 pm   Post subject: (No subject)

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




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: