view gamelib/constants.py @ 58:9048cf43f613

Popup menu
author Neil Muller <neil@dip.sun.ac.za>
date Mon, 23 Aug 2010 15:51:27 +0200
parents 3d460c1274ee
children 158a13a48d48
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