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.
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
Offline 5,792 posts
since Oct 2004