Computer Science Canada Find the Error |
Author: | Notthebbq [ Mon May 16, 2011 1:28 pm ] |
Post subject: | Find the Error |
Working on a TD game of sorts, and the mouse code doesn't want to work. I provided the code we have thus far, anyone who could offer some input on how to fix is appreciated. |
Author: | 102jon [ Mon May 16, 2011 1:52 pm ] |
Post subject: | Re: Find the Error |
Read the documentation on pygame, and learn how to debug yourself. You are handling the pygame.mouse.get_pos() function the wrong way. try this: (MOUSEX, MOUSEY) = pygame.mouse.get_pos() |