How to make a Pygame Zero window full screen?
问题 I am using the easy-to-use Python library pgzero (which uses pygame internally) for programming games. How can I make the game window full screen? import pgzrun TITLE = "Hello World" WIDTH = 800 HEIGHT = 600 pgzrun.go() Note: I am using the runtime helper lib pgzrun to make the game executable without an OS shell command... It implicitly imports the pgzero lib... Edit: pgzero uses pygame internally, perhaps there is a change the window mode using the pygame API... 回答1: You can access the