Computer Science Canada Need Help making turing game which includes mouse |
Author: | TuringHelp [ Wed May 12, 2010 8:26 am ] |
Post subject: | Need Help making turing game which includes mouse |
What is it you are trying to achieve? I am trying to make a game that uses the mouse to interact What is the problem you are having? I am confused and would appreciate if someone told me haow to do it [<It can be a simple game as long as it requires the mouse to play. when i say simple i mean simple nothing to hard to make> |
Author: | Tony [ Wed May 12, 2010 9:30 am ] |
Post subject: | RE:Need Help making turing game which includes mouse |
Turing Walkthrough -> Mouse Tutorial |
Author: | chrisbrown [ Wed May 12, 2010 9:44 am ] | ||
Post subject: | RE:Need Help making turing game which includes mouse | ||
Mouse.Where will let you determine the location of the mouse, and whether or not a button is being pressed. Both of these things are represented by integers: the location as x/y co-ordinates, and button presses as {0 = not pressed, 1 = pressed}. You can also configure multiple-button mouses but it's a little more complicated. The following program displays mouse information. It should give you a starting point.
|