X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fconstants.py;h=378003bfcdfb49ff720e5906c286352e85301e76;hb=122d9fef6f8261a7e45026e3498ce95569b4d344;hp=d5aebb68043ae3d73a18ac2e35371b540c3c0cae;hpb=0210328efd8d57ae06719e540ad9384331b950e0;p=tabakrolletjie.git diff --git a/tabakrolletjie/constants.py b/tabakrolletjie/constants.py index d5aebb6..378003b 100644 --- a/tabakrolletjie/constants.py +++ b/tabakrolletjie/constants.py @@ -1,8 +1,13 @@ """ Game constants. """ +import os + TITLE = "Space Turnips" +# Debug +DEBUG = os.environ.get("TABAK_DEBUG", "").lower() in ("1", "y", "yes") + # 704 is 768 minus space for window decorations :) SCREEN_SIZE = (1024, 704) @@ -12,3 +17,4 @@ FPS = 60 # Pymunk categories OBSTACLE_CATEGORY = 1 << 0 LIGHT_CATEGORY = 1 << 1 +MOULD_CATEGORY = 1 << 2