X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fconstants.py;h=92a7c6fdfc0b3fe5f81c78faea376d24c6cfd605;hb=830d14c2483c280292d38794e9e67b373b56a09c;hp=5acf89aa9fb83519d9aec53157076357cff2adc2;hpb=35aa986992aeeb0882174591d325e6259c372e32;p=tabakrolletjie.git diff --git a/tabakrolletjie/constants.py b/tabakrolletjie/constants.py index 5acf89a..92a7c6f 100644 --- a/tabakrolletjie/constants.py +++ b/tabakrolletjie/constants.py @@ -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) @@ -16,3 +18,4 @@ FPS = 60 OBSTACLE_CATEGORY = 1 << 0 LIGHT_CATEGORY = 1 << 1 MOULD_CATEGORY = 1 << 2 +FITTINGS_CATEGORY = 1 << 3