Ending pygame screen. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ending pygame screen.

After importing pygame it makes a black screen default display. How can I terminate that? I've tried del pygame, del(pygame) and pygame.quit(), but without result. I wanted to make a program with basic text output and pygame graphical output in the same program.

8th Oct 2018, 10:13 PM
Seb TheS
Seb TheS - avatar
1 Answer
0
No, pygame.quit() quits all the classes, but the problem is fixed with pygame.font by making text manually by pygame.font
15th Nov 2018, 9:19 AM
Seb TheS
Seb TheS - avatar