The mode you are trying to set in ...
screen = pygame.display.set_mode((468, 60))
is really not very close to any recognizable mode. Pygame does search for the closest possible mode, but may be overtaxed in this case!
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
What is your computer and operating system? Which version of Python and PyGame have you installed?
Come to think of it, in a 32bit mode the odd sizes shouldn't be a problem, at least on a XP box. How is the result (screen) used?
Follow the trail and make a sub-program of the calls.
It has been my experience that a number of the PyGame examples on the internet are faulty at best. For instance get_rect() is often given a parameter, doesn't like it!
I have done some work with the Simple DirectMedia Layer (SDL) library using C++, not much work with PyGame's SDL.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417