[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] fullscreen and resolution



Hi.

I want to make my game run in FULLSCREEN mode. However, i also want the resolution to be 800*600 and actually, when i use :


screen = pygame.display.set_mode((0, 0), FULLSCREEN)

It automaticaly sets the resolution to 640*600

So i tried :

screen = pygame.display.set_mode((800, 600), FULLSCREEN)

But the game is drawn on 800*600 and the rest of the screen is totally white.

Thanks.