sounds like you would like to use the "VIDEORESIZE" event?
http://www.pygame.org/docs/ref/event.html
I think it's something like this in your event loop:
if event.type == VIDEORESIZE:
screen = pygame.display.set_mode(event.size, RESIZABLE)
On 7/2/07, Ian Mallett <[EMAIL PROTECTED]> wrote:
Hi,
I've made a game that could work at any screen size, but I don't know how to
make the screen resize. I could pass pygame.RESIZEABLE to enable users to
resize the window, but I would need something else to resize the surface by
calling pygame.display.set_mode().
Geo