From 6d45b7245fdaaa0d35e429b69c9ac14ee940a841 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 20 Sep 2024 18:43:29 +0200 Subject: add collision for bullets --- constants.py | 1 + 1 file changed, 1 insertion(+) (limited to 'constants.py') diff --git a/constants.py b/constants.py index 87070cd..119909f 100644 --- a/constants.py +++ b/constants.py @@ -10,5 +10,6 @@ PLAYER_RADIUS = 20 PLAYER_TURN_SPEED = 300 PLAYER_SPEED = 200 PLAYER_SHOOT_SPEED = 500 +PLAYER_SHOOT_COOLDOWN = 0.3 SHOT_RADIUS = 5 -- cgit v1.2.3