projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add broken click handling.
[tabakrolletjie.git]
/
tabakrolletjie
/
constants.py
diff --git
a/tabakrolletjie/constants.py
b/tabakrolletjie/constants.py
index d5aebb68043ae3d73a18ac2e35371b540c3c0cae..92a7c6fdfc0b3fe5f81c78faea376d24c6cfd605 100644
(file)
--- a/
tabakrolletjie/constants.py
+++ b/
tabakrolletjie/constants.py
@@
-1,8
+1,13
@@
""" Game constants.
"""
""" Game constants.
"""
+import os
+
TITLE = "Space Turnips"
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)
# 704 is 768 minus space for window decorations :)
SCREEN_SIZE = (1024, 704)
@@
-12,3
+17,5
@@
FPS = 60
# Pymunk categories
OBSTACLE_CATEGORY = 1 << 0
LIGHT_CATEGORY = 1 << 1
# Pymunk categories
OBSTACLE_CATEGORY = 1 << 0
LIGHT_CATEGORY = 1 << 1
+MOULD_CATEGORY = 1 << 2
+FITTINGS_CATEGORY = 1 << 3