changed name
[tabakrolletjie.git] / tabakrolletjie / constants.py
index 6ddfd9fd01083bda88ae028072ba811a1df1c762..f241360fd69fb8d66eba15850fd79f0a7d49b043 100644 (file)
@@ -3,7 +3,7 @@
 
 import os
 
-TITLE = "Space Turnips"
+TITLE = "Attack of the Giant Space Mould"
 
 # Debug
 DEBUG = os.environ.get("TABAK_DEBUG", "").lower() in ("1", "y", "yes")
@@ -17,8 +17,10 @@ SCREEN_SIZE = (1024, 704)
 # Frame per second
 FPS = 30
 
-# Night length in ticks
+# Night length in ticks and hours
 NIGHT_LENGTH = 1500
+NIGHT_LENGTH_HOURS = 12
+NIGHT_HOURS_PER_TICK = float(NIGHT_LENGTH_HOURS) / NIGHT_LENGTH
 
 # Pymunk categories
 OBSTACLE_CATEGORY = 1 << 0