![]() |
PyGame problem, can anyone help?
I've recently upgraded my n800 to Diablo. I've been working on a project using PyGame that is described in this post. Before upgrading to Diablo, I never had a problem using PyGame.
Now I am attempting to become more familiar with Python and PyGame. I'm trying to work with some of the scripts from Will McGugan's Beginning Game Development with Python and Pygame. When I attempt to run the following script Code:
#!/usr/bin/env python Code:
helloworld.py:6: RuntimeWarning: import cdrom: No module named cdrom |
Re: PyGame problem, can anyone help?
Change this line
Code:
screen = pygame.display.set_mode((640, 480), 0, 32) Code:
screen = pygame.display.set_mode((640, 480), 0, 16) But I could be wrong, and the problem be other. |
All times are GMT. The time now is 22:35. |
vBulletin® Version 3.8.8