view gamelib/constants.py @ 99:367b1c9c3c6d

Restore mouse when returning to main menu
author Neil Muller <neil@dip.sun.ac.za>
date Tue, 24 Aug 2010 08:16:56 +0200
parents 350ce4ebe122
children 65976205fc2d
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
SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE)

DEBUG = True