projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Specify night length in hours.
[tabakrolletjie.git]
/
tabakrolletjie
/
constants.py
diff --git
a/tabakrolletjie/constants.py
b/tabakrolletjie/constants.py
index 5529b60693245f2ce269588263dc422194c6b6e7..0ea58f52a260aba732d68e84a8f8be7b2652bf0a 100644
(file)
--- a/
tabakrolletjie/constants.py
+++ b/
tabakrolletjie/constants.py
@@
-15,7
+15,12
@@
FPS_FRAMES = 50
SCREEN_SIZE = (1024, 704)
# Frame per second
-FPS = 60
+FPS = 30
+
+# Night length in ticks
+NIGHT_LENGTH = 1500
+# Night length in hours
+NIGHT_LENGTH_HOURS = 12
# Pymunk categories
OBSTACLE_CATEGORY = 1 << 0