annotate gamelib/constants.py @ 56:75bf3d3689e9
Refactor thing interactivity and add "fake" bridge scene.
author |
Jeremy Thurgood <firxen@gmail.com> |
date |
Mon, 23 Aug 2010 13:39:12 +0200 |
parents |
3d460c1274ee |
children |
158a13a48d48 |
rev |
line source |
20
|
1 # Useful constants
|
|
2 # copyright boomslang team (see COPYRIGHT file for details)
|
|
3
|
|
4 SCREEN = (800, 600)
|
|
5 FREQ = 44100 # same as audio CD
|
|
6 BITSIZE = -16 # unsigned 16 bit
|
|
7 CHANNELS = 2 # 1 == mono, 2 == stereo
|
|
8 BUFFER = 1024 # audio buffer size in no. of samples
|
53
|
9
|
|
10 BUTTON_SIZE = 50
|