擅长:python、mysql、java
<p>是的,pygame似乎可以检测到显示器中的各种设置。在</p>
<p>首先要看的是<a href="http://www.pygame.org/docs/tut/DisplayModes.html" rel="nofollow noreferrer">this link here</a>,阅读它会给你很多关于pygame如何帮助你使用显示模式的信息。“如何决定”部分可能对您最有用。在</p>
<p>读了之后,你会发现自己正在进入<a href="http://www.pygame.org/docs/ref/display.html#pygame.display.Info" rel="nofollow noreferrer">this link here</a>。您将在链接后的第四段中看到:</p>
<blockquote>
<p>If precise control is needed over the pixel format or display
resolutions, use the functions pygame.display.mode_ok(),
pygame.display.list_modes(), and pygame.display.Info() to query
information about the display.</p>
</blockquote>
<p>因此,最好仔细阅读如何使用它们,并与它们一起玩,看看这些信息是如何返回和使用的。在</p>