view gamelib/constants.py @ 47:8f1fccb8cadf

Skeletons for scenes in plot outline.
author Simon Cross <simon@simonx>
date Mon, 23 Aug 2010 11:47:03 +0200
parents 177e3a7825e8
children 3d460c1274ee
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