FULLSCREEN and DOUBLEBUF
Paul St George
email at paulstgeorge.com
Thu Jun 7 13:12:00 EDT 2018
This is both a narrow question about some code and a more general
question about syntax in Python
Using the Pygame modules, I want to set both FULLSCREEN and DOUBLEBUF
I can use
screen =
pygame.display.set_mode((screen_width,screen_height),pygame.FULLSCREEN)
to set a FULLSCREEN display
Or, I can use
screen =
pygame.display.set_mode((screen_width,screen_height),pygame.DOUBLEBUF)
to set DOUBLEBUF
But how do I set both FULLSCREEN and DOUBLEBUF?
And, how can I test or check that DOUBLEBUF is set?
--
Paul St George
http://www.paulstgeorge.com
http://www.devices-of-wonder.com
More information about the Python-list
mailing list