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.

贡献者指南