view gamelib/constants.py @ 73:932b0956e77a

Make tools usable.
author Simon Cross <hodgestar+bzr@gmail.com>
date Mon, 23 Aug 2010 21:19:34 +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