I don't know why the window is black, not white.And I can't close the window. Why is that?

Asked 2 years ago, Updated 2 years ago, 89 views

pygame

2022-09-20 18:06

1 Answers

Remove the From pygame.locals import QUIT and try event.type == pygame.QUIT


2022-09-20 18:06

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.