lordmauve/pgzero

Initialise Pygame mixer lazily

Open

#110 建立於 2018年8月12日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (472 star) (185 fork)batch import
enhancementgood first issue

描述

Initialising the mixer causes Pygame to burn one whole CPU on Linux:

https://github.com/pygame/pygame/issues/331

Pygame Zero should initialise the mixer lazily (eg. when sounds are loaded) to avoid suffering performance problems if the mixer is not needed.

貢獻者指南