Use debug_timer at night.
[tabakrolletjie.git] / tabakrolletjie / constants.py
index 8e6bac7d4ba92dacb82cd72f5ee83e98e967e57f..378003bfcdfb49ff720e5906c286352e85301e76 100644 (file)
@@ -1,10 +1,12 @@
 """ Game constants.
 """
 
+import os
+
 TITLE = "Space Turnips"
 
 # Debug
-DEBUG = False
+DEBUG = os.environ.get("TABAK_DEBUG", "").lower() in ("1", "y", "yes")
 
 # 704 is 768 minus space for window decorations :)
 SCREEN_SIZE = (1024, 704)
@@ -15,3 +17,4 @@ FPS = 60
 # Pymunk categories
 OBSTACLE_CATEGORY = 1 << 0
 LIGHT_CATEGORY = 1 << 1
+MOULD_CATEGORY = 1 << 2