Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我正在使用 Pygame 。每当我运行我的游戏时,屏幕不会呈现任何内容并且它看起来是黑色的,但是出于调试目的,我使用 print 语句,我发现所有功能都在工作,那么我的代码有什么问题?
由于我不知道您是如何编写程序的,因此我无法确定导致您的程序显示黑屏的确切问题。但是,我怀疑它可能是以下之一:
希望这有帮助!