When I ran this program the sounds of bullet and sounds of enemydown are noticeably delayed and I found the same problem in my similar program using the pygame module. Why it happened and is there any way to solve it?
游戏里子弹、敌机坠毁的音效会有明显的延迟,这是python自身的原因还是pygame的限制呢?有没有什么方法能够解决?
When I ran this program the sounds of bullet and sounds of enemydown are noticeably delayed and I found the same problem in my similar program using the pygame module. Why it happened and is there any way to solve it?
游戏里子弹、敌机坠毁的音效会有明显的延迟,这是python自身的原因还是pygame的限制呢?有没有什么方法能够解决?