Change target FPS and rescale things to match
[tabakrolletjie.git] / tabakrolletjie / constants.py
index 66150336c4e0120bcadf741ac5a8c154e132c77c..6ddfd9fd01083bda88ae028072ba811a1df1c762 100644 (file)
@@ -15,7 +15,10 @@ FPS_FRAMES = 50
 SCREEN_SIZE = (1024, 704)
 
 # Frame per second
-FPS = 60
+FPS = 30
+
+# Night length in ticks
+NIGHT_LENGTH = 1500
 
 # Pymunk categories
 OBSTACLE_CATEGORY = 1 << 0
@@ -38,3 +41,14 @@ BUFFER = 1024
 DEFAULT_VOLUME = 1.0
 
 NO_SOUND = os.environ.get("TABAK_NO_SOUND", "").lower() in ("1", "y", "yes")
+
+# Color constants
+COLOURS = {
+    "red": (255, 0, 0),
+    "green": (0, 255, 0),
+    "blue": (0, 0, 255),
+    "cyan": (0, 255, 255),
+    "yellow": (255, 255, 0),
+    "magenta": (255, 0, 255),
+    "white": (255, 255, 255),
+}