Mercurial > nagslang
annotate nagslang/constants.py @ 159:f80323140317
Stickier facings
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Tue, 03 Sep 2013 00:10:54 +0200 |
parents | b90d01e4d9d4 |
children | ce8d4fc3baf4 |
rev | line source |
---|---|
10 | 1 SCREEN = (800, 600) |
15
980339c28b42
Add start of engine / event dispatcher.
Simon Cross <hodgestar@gmail.com>
parents:
10
diff
changeset
|
2 FPS = 40 |
29
58505d3482b6
Text on the menu screen
Stefano Rivera <stefano@rivera.za.net>
parents:
16
diff
changeset
|
3 FONT = 'DejaVuSans.ttf' |
58505d3482b6
Text on the menu screen
Stefano Rivera <stefano@rivera.za.net>
parents:
16
diff
changeset
|
4 FONT_SIZE = 16 |
58505d3482b6
Text on the menu screen
Stefano Rivera <stefano@rivera.za.net>
parents:
16
diff
changeset
|
5 |
13 | 6 DEFAULTS = dict( |
7 debug=False, | |
8 sound=True, | |
9 ) | |
81
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
10 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
11 COLLISION_TYPE_OTHER = 0 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
12 COLLISION_TYPE_PLAYER = 1 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
13 COLLISION_TYPE_WALL = 2 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
14 COLLISION_TYPE_SWITCH = 3 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
15 COLLISION_TYPE_BOX = 4 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
16 |
a1b4d09e6f23
Floor switch with horrible hackery.
davidsharpe@lantea.local
parents:
29
diff
changeset
|
17 SWITCH_PUSHERS = [COLLISION_TYPE_PLAYER, COLLISION_TYPE_BOX] |
107 | 18 |
19 ZORDER_FLOOR = 0 | |
20 ZORDER_LOW = 1 | |
21 ZORDER_MID = 2 | |
22 ZORDER_HIGH = 3 |