Mercurial > boomslang
view gamelib/constants.py @ 79:d7c0a702a0b4
Factor label width setting method out into a custom class (BoomLabel).
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Mon, 23 Aug 2010 23:09:29 +0200 |
parents | 213e47dea4d0 |
children | 350ce4ebe122 |
line wrap: on
line source
# Useful constants # copyright boomslang team (see COPYRIGHT file for details) SCREEN = (800, 600) FREQ = 44100 # same as audio CD BITSIZE = -16 # unsigned 16 bit CHANNELS = 2 # 1 == mono, 2 == stereo BUFFER = 1024 # audio buffer size in no. of samples BUTTON_SIZE = 50 DEBUG = True