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 在屏幕上翻页不同的刺激。问题是 pygame 的翻转功能,虽然将翻转同步到垂直回溯,但并没有告诉我回溯的时间。有谁知道在 Python 中获取这些信息的方法(最好是独立于平台的)?
问候,弗莱德
只需在翻转调用后立即轮询时间,如果该时间与垂直回扫同步。