Mercurial > boomslang
annotate gamelib/constants.py @ 93:350ce4ebe122
Detail view without any functionality.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 24 Aug 2010 00:43:32 +0200 |
parents | 213e47dea4d0 |
children | 65976205fc2d |
rev | line source |
---|---|
20 | 1 # Useful constants |
2 # copyright boomslang team (see COPYRIGHT file for details) | |
3 | |
70 | 4 |
20 | 5 SCREEN = (800, 600) |
6 FREQ = 44100 # same as audio CD | |
7 BITSIZE = -16 # unsigned 16 bit | |
8 CHANNELS = 2 # 1 == mono, 2 == stereo | |
9 BUFFER = 1024 # audio buffer size in no. of samples | |
53 | 10 |
11 BUTTON_SIZE = 50 | |
93
350ce4ebe122
Detail view without any functionality.
Jeremy Thurgood <firxen@gmail.com>
parents:
70
diff
changeset
|
12 SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE) |
68
158a13a48d48
Show interact rectangles when constants.DEBUG is True.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
53
diff
changeset
|
13 |
158a13a48d48
Show interact rectangles when constants.DEBUG is True.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
53
diff
changeset
|
14 DEBUG = True |