source: nagslang/constants.py@ 265:8a695b8ecd6c

Last change on this file since 265:8a695b8ecd6c was 265:8a695b8ecd6c, checked in by David Sharpe, 8 years ago

Correcting damage application

File size: 855 bytes
RevLine 
[10]1SCREEN = (800, 600)
[15]2FPS = 40
[29]3FONT = 'DejaVuSans.ttf'
4FONT_SIZE = 16
5
[13]6DEFAULTS = dict(
7 debug=False,
8 sound=True,
9)
[81]10
11COLLISION_TYPE_OTHER = 0
12COLLISION_TYPE_PLAYER = 1
13COLLISION_TYPE_WALL = 2
14COLLISION_TYPE_SWITCH = 3
15COLLISION_TYPE_BOX = 4
[168]16COLLISION_TYPE_ENEMY = 5
[176]17COLLISION_TYPE_DOOR = 6
[261]18COLLISION_TYPE_PROJECTILE = 7
[265]19COLLISION_TYPE_WEREWOLF_ATTACK = 8
[81]20
21SWITCH_PUSHERS = [COLLISION_TYPE_PLAYER, COLLISION_TYPE_BOX]
[107]22
[186]23CALLBACK_COLLIDERS = [
24 # Collisions between the player and shapes with these collision types will
25 # fire callbacks on the game object associated with the shape.
26 COLLISION_TYPE_SWITCH,
27 COLLISION_TYPE_BOX,
28 COLLISION_TYPE_ENEMY,
29 COLLISION_TYPE_DOOR,
30]
31
[107]32ZORDER_FLOOR = 0
33ZORDER_LOW = 1
34ZORDER_MID = 2
35ZORDER_HIGH = 3
[246]36
37WEREWOLF_SOAK_FACTOR = 10
38PROTAGONIST_HEALTH_MAX_LEVEL = 100
[247]39PROTAGONIST_HEALTH_MIN_LEVEL = 0
Note: See TracBrowser for help on using the repository browser.