I have w开发者_StackOverflow中文版ritten a small program in WindowsXP-python-pygame. It runs fine when I run it in the dos.
Even though I\'ve set the transparency of the image to \'开发者_运维知识库True\', I am still unable to clear the fuzz around it. I\'ve tried various methods, playing around with it in Photoshop to n
So, Iv\'e got a pygame application. Right now, it takes a command line argument to specify which display to show the main screen on. However, I\'m running it on windows, where it\'s hard to specify co
I\'m new to Python, I still have issues with the semantics of class inheritance. The following is the relevant class from the module games.py module that I am importing:
In a pygame application window, the minimize, resize and close buttons are present. Is there a wa开发者_如何学Pythony to disable the close(X) button?I don\'t think there is, because some window manage
Can\'t figure out what\'s wrong. All I know is that it doesn\'t execute. Find the trackback at the bottom.
I\'ve made several small programs in PyGame and for my latest attempt I have added scrolling (push arrow keys) but when it happens the sprites flicker. I\'ve tried to pinpoint the issue but cannot.
I\'m reading the book Introduction to Computer Science Using Python and Pygame by Paul Craven (note: legally available for free online). In the book, he uses a combination of Python 3.1.3 and Pygame 1
It\'s still an incomplete program, but for some reason the value of the textbox doesn\'t increase when it should... Why is this??
In pygame I am unable to rotate an image/surface. The image is drawing properly just not rotating. self.other1 = pygame.image.load(\"enemy.png\").convert_alpha()