No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
How would I limit mouse movement in python? For example I have a 480x480 grid where each block is 30. If I click on a block I would like to only be able to click in an area of one block around the block that I placed. | |
Just like the title says. I need help on clicking on a box in a grid and filling it in with a color. Right now each block is 10x10 so I would have to use a 9x9 rectangle so it doesn't overlap. [CODE] #!/usr/bin/python import pygame,os,sys from pygame.locals import * … | |
I'm trying to put in some code that will delete a list from a list. For example if the user decides to delete the first names he would type in 'first' (w/out quotes). however after they input the name nothing prints out. Any suggestions? [CODE] person = ' ' first … |