summaryrefslogtreecommitdiff
path: root/constants.py
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2024-09-20 16:52:21 +0200
committeryuzu-eva <stevenhu@web.de>2024-09-20 16:52:21 +0200
commit9e795071dc9aca96e513bf37ac941b0fe4aeccba (patch)
tree7e3f06d88cfdeb82324ac0b94eb7ab03e59a1a8e /constants.py
Initial commit
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/constants.py b/constants.py
new file mode 100644
index 0000000..6f9d7d2
--- /dev/null
+++ b/constants.py
@@ -0,0 +1,7 @@
+SCREEN_WIDTH = 1280
+SCREEN_HEIGHT = 720
+
+ASTEROID_MIN_RADIUS = 20
+ASTEROID_KINDS = 3
+ASTEROID_SPAWN_RATE = 0.8 # seconds
+ASTEROID_MAX_RADIUS = ASTEROID_MIN_RADIUS * ASTEROID_KINDS