source: nagslang/constants.py@ 261:db7c8e74efb4

Last change on this file since 261:db7c8e74efb4 was 261:db7c8e74efb4, checked in by Stefano Rivera <stefano@…>, 8 years ago

(really rubbish) bullets

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