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

Asked 1 years ago, Updated 1 years ago, 74 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.