From 43b5f64a1dc366278458738889af0f9ce2f1dd38 Mon Sep 17 00:00:00 2001 From: CodeLongAndProsper90 <50145141+CodeLongAndProsper90@users.noreply.github.com> Date: Wed, 1 Jan 2020 14:44:38 -0600 Subject: [PATCH] Lower the FPS to fix issue #10 --- mainGame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainGame.py b/mainGame.py index 07d4295..91df38f 100644 --- a/mainGame.py +++ b/mainGame.py @@ -77,7 +77,7 @@ while running: # 控制游戏最大帧率为60 - clock.tick(60) + clock.tick(45) # 控制发射子弹频率,并发射子弹 if not player.is_hit: